Can i trigger specific branch using windows command line?

I need to build a specific branch based on the requirements through windows command line.

curl -v -u user:password http://teamcity.server.url:8111/app/rest/buildQueue 

I have tried the above kind of command to trigger the build but i can only trigger the default branch..


Please someone provide me the exact syntax/command if I want to build dev branch.

Thank you in advance!

Regards,
Kishore V
0
1 comment

It's possible, it's described in the documentation with a specific example for triggering a branch of your choice. Please check it here: https://www.jetbrains.com/help/teamcity/rest-api.html#RESTAPI-TriggeringaBuild

0

Please sign in to leave a comment.