Prevent Release Trigger on Gated Check-in build

前端 未结 1 615
悲哀的现实
悲哀的现实 2021-01-20 17:18

How to stop the release trigger on Gated check-in build which doesn;t produce any artifact?

I have a build definition with Gated check-in enabled. In Publish and Pub

相关标签:
1条回答
  • 2021-01-20 17:48

    There is an option on the first environment where you can set an Artifact filter, enter Include TriggerRelease:

    By tagging your build (in case it's not a gated check-in), you can prevent the release from triggering. You can run a small magic log command to set the tag in the build:

    Write-Host "##vso[build.addbuildtag]TriggerRelease"
    

    Or you can use a build task from the following extension to have a build tag itself:

    0 讨论(0)
提交回复
热议问题