Is it possible to pin a build in Teamcity programmatically/automatically?
I want to pin a build if a Deploy-build is successfull.
Is it possible to pin a build in Teamcity programmatically/automatically? I want to pin
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just found out that its possible through the REST API
I can f.ex send a PUT command like this
http://teamcityserver:81/httpAuth/app/rest/builds/id:688/pin/
and then the build with id 688 (teamcity.build.id) will be pinned.