Programmatically pin a build in Teamcity

前端 未结 4 1984
不思量自难忘°
不思量自难忘° 2020-12-31 10:32

Is it possible to pin a build in Teamcity programmatically/automatically? I want to pin a build if a Deploy-build is successfull.

4条回答
  •  一个人的身影
    2020-12-31 11:02

    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.

提交回复
热议问题