Is it possible to pin a build in Teamcity programmatically/automatically? I want to pin a build if a Deploy-build is successfull.
Inspired by carlspring's answer, I wrote a little teamcity plugin that programmatically adds tags to your build:
https://github.com/echocat/teamcity-buildTagsViaBuildLog-plugin
You could easily modify it to also pin your build. Furthermore, it might be helpful to tag your successful builds instead of pinning them and use the tag as a filter.