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'sbin
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 usingReleaseManagementBuild.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,