Following a TC upgrade to 2018 My previous script of triggering a TC build with parameters is not working
The script we were using uses the following api:
https://[server]/httpAuth/action.html?add2Queue=[build name]&name=[param name]&value=[param value]
I'm trying to migrate to restApi from (https://confluence.jetbrains.com/display/TCD18/REST+API#RESTAPI-QueuedBuilds):
I have tried
https://[server]/app/rest/buildQueue?locator=buildType:[build name],[param name]:[param value]
Currently I have 2 issues:
- I get a build triggered successfully - but it has not been triggered
- Documentation was not clear, how to I trigger the build with parameters ? Can you please advise on how to trigger the build successfully with parameters (also could be more than 1)