Can I cancel a TeamCity build from my msbuild script?

后端 未结 4 559
梦谈多话
梦谈多话 2021-01-11 16:51

TeamCity allows me to report back from my MsBuild script using the ##teamcity interaction. I can use this to tell TeamCity that the build has FAILED, or ind

4条回答
  •  一个人的身影
    2021-01-11 17:10

    According to JetBrains issue tracker and release page, since TeamCity 2019.1 EAP 1 builds can be stopped with service message as in:

    ##teamcity[buildStop comment='canceling comment' readdToQueue='true']
    

提交回复
热议问题