Programmatically run Release regardless of build

I am currently using Team Foundation Server 2013 Update 3 and Release Management 2013 with Update 3.

With release management, you can start a release manually or automatically from an assembly (the option "Can initiate release from an assembly").

Is it possible to initiate the release programmatically and independently of the assembly ? In practice, is there a way to interact with release management (presumably with its server component) through a service or command line tool (for example, like TFS Power Tools)?

Ideally, I would like to do this using PowerShell , so I was wondering what options I should follow.

+4
source share
2 answers

You have several options, depending on whether you use vNext release templates or agent-based release templates.

  • If you use vNext Release Templates: A poorly documented REST API is available in Update 3 and Update 4.

  • If you use agent-based templates, you can use ReleaseManagementBuild.exeone located in the client folder bin(usually in C: \ Program Files (x86) \ Microsoft Visual Studio 12.0 \ Release Management \ Client \ bin). Before use, ReleaseManagementBuild.exeyou must start and configure the client ReleaseManagementConsole.exe.

+3
source

All Articles