3
votes

Is it possible to use Microsoft Release Management Server with the build artifact output from a Team City build?

  • And perhaps optionally have Team City trigger the first step in a release?

I've only seen documentation which steps though builds with TFS build.

2

2 Answers

5
votes

Yes. If you set your components to "Builds Externally", you can specify a path to your Team City binary drop location. Then, at the time of triggering a release, you'll specify the exact version of the binaries to deploy from that location.

You can have Team City trigger a release from RM by using the ReleaseManagementBuild.exe tool. It's located in the Release Management installation folder

You can trigger a release for a TeamCity-generated build by running ReleaseManagementBuild.exe -rt "YourReleaseTemplateName" -pl "\YourTeamCityDropLocation\Whatever\"

Related blog, from Jonathan Rajotte at Microsoft on the RM team: http://blogs.msdn.com/b/visualstudioalm/archive/2014/04/04/release-management-continuous-deployment-with-visual-studio-online-and-any-ci-systems.aspx

2
votes

If you are using vNext deployments (PowerShell DSC) I've written a blog post on how to trigger this from Team City here:

http://geekswithblogs.net/jakob/archive/2015/01/14/trigger-visual-studio-release-management-vnext-from-teamcity.aspx

It uses the new REST API that was introduced in 2013 update 3.