Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
How to use Release and Deployment API endpoint to trigger release through TFS?
-
Hi
I have created deployment plan in BuildMaster and need to trigger the create release and deployment activity through TFS (if possible) or web api. I am trying to use api endpoints for release and deployment api like below but no use:
http://buildmaster/post/api/releases/create?applicationName=DeployWWMapping&releaseNumber=1.1.3&pipelineName=TriggerTFSBuildDeploy&key=5WRTeJcctiY32u2bEqTb4Q==
Can you please help how we can use the api to trigger release and deployment from api. Also is there a way to do same using TFS?Product: BuildMaster
Version: 5.6.11
-
The URL is not http://buildmaster/post/api/releases
Instead use: http://buildmaster/api/releases
-
Hi
As suggested now i am using this URL but still nothing happening:
http://buildmaster/api/releases/create?applicationName=DeployWWMapping&releaseNumber=1.1.3&pipelineName=TriggerTFSBuildDeploy&key=5WRTeJcctiY32u2bEqTb4Q==
Please help
-
Hello Megha,
That URL looks correct. Are you doing a POST or PUT request, or a GET request? If you're visiting the page in your browser, that's a GET request and it won't work. Either POST or PUT will work, though.
You can use a web hook to automate this through TFS.