trigger jenkins build on tag creation with multibranch pipeline

后端 未结 1 722
Happy的楠姐
Happy的楠姐 2021-02-08 00:21

I\'ve got a stage in my Jenkinsfile for building from a tag matching a tag name filter:

      stage(\'Build Release from Tag\') {
        when {
          tag \'         


        
1条回答
  •  被撕碎了的回忆
    2021-02-08 00:59

    I just needed to read https://issues.jenkins-ci.org/browse/JENKINS-47496 more closely. Tags aren't built automatically by default. You have to install the Basic Branch Build Strategies plugin and activate building of tags for the pipeline. I did this and now it does build the tags automatically.

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