How to program against Release Management?
Recently one of the release management customers wanted to know how they can use the release management APIs to do the following: -
- Create a user.
- Create a standard environment/machine.
- Create a pick list.
- Create a release path.
- Create a release definition with a DSC action.
- Run a release from a release definition.
- (Update 1/8/2015) Update dns names of the existing servers.
I created a sample which demonstrates the above usage and am sharing it here so that others can also benefit from it. The instructions to use the sample, with update 4 RM server, are present in the readme.txt present within the sample.
Enjoy !!
Note: - These APIs are not supported & will break with the next release of release management, so please use them at your own risk.
Comments
- Anonymous
February 18, 2015
What does 'These APIs are not supported in the next release' mean? Will next release provide a new set of APIs to support equivalent functionality? Or just NO APIs at all? - Anonymous
February 18, 2015
James, We will provide a new set of API for the equivalent functionality & APIs will look very similar to the one for other visual studio services.www.visualstudio.com/.../overviewRegardsAseem Bansal - Anonymous
September 22, 2015
Thanks for the idea of using the dlls from the Release Management installation. I wrote an article that I think will be helpful for figuring out how to do just about anything you want with the API. www.codeproject.com/.../Programming-against-the-undocumented-Release-Manag