Programmatically trigger a Release independently from a build Programmatically trigger a Release independently from a build powershell powershell

Programmatically trigger a Release independently from a build


You have a few options, depending on whether you're using vNext release templates or agent-based release templates.

  • If you're using vNext release templates: There is a poorly-documented REST API available in Update 3 and Update 4.

  • If you are using agent-based templates, you can use ReleaseManagementBuild.exe, which is in the client's bin folder (usually in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Release Management\Client\bin). You must run and configure the client, ReleaseManagementConsole.exe, prior to using ReleaseManagementBuild.exe.


If your version is RM 2013 with update 4 .You have WebAPI's exposed to trigger releases,If you are looking for Console way of triggering you can use RM Console application.

Some links,

WebAPI's http://blogs.msdn.com/b/visualstudioalm/archive/2014/10/10/trigger-release-from-build-with-release-management-for-visual-studio-2013-update-3.aspx