Created
July 12, 2020 16:26
-
-
Save lawrenceching/820eb4150ff98e7eb24a58e8d81d764a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TC_TOKEN=<Teamcity Token> | |
curl -X POST -H "Authorization: Bearer $TC_TOKEN" \ | |
--header "Content-Type:application/xml" \ | |
-d" | |
<build> | |
<buildType id=\"<TeamCity Build ID>\"/> | |
<properties> | |
<property name=\"<Parameter Name>\" value=\"<Parameter Value>\"/> | |
</properties> | |
</build> | |
" \ | |
https://teamcity.example.com/app/rest/buildQueue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment