• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • None
    • Jenkins 2.73.2, Git Plugin 3.6.0, Pipeline: Multibranch 2.16

      After upgrading to the Git Plugin 3.6.0 I activated the "Discover Tags" option in a Multibranch Pipeline Job. The tag is also discovered as expected, but no build is triggered.

       

      Checking tags... 
      Checking tag PNR-12345 
      ‘Jenkinsfile’ found 
      Met criteria 
      Changes detected: PNR-12345 (null → d56c6578f5f04403f4bd64bf2647f3dd0f36e826) 
      No automatic builds for PNR-12345
       Processed 1 tags
      

      I expected that a new build is triggered, when a new tag is found. How to achieve this?

       

          [JENKINS-47496] No automatic builds for tags

          Philipp Moeller created issue -
          Andrew Bayer made changes -
          Component/s New: branch-api-plugin [ 18621 ]
          Component/s Original: pipeline [ 21692 ]
          Stephen Connolly made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Stephen Connolly made changes -
          Attachment New: build-tags.gif [ 43729 ]
          Stephen Connolly made changes -
          Attachment New: Screen Shot 2018-08-14 at 00.41.53.png [ 43730 ]
          Mark Waite made changes -
          Link New: This issue is related to JENKINS-53432 [ JENKINS-53432 ]
          Will Curry made changes -
          Description Original: After upgrading to the Git Plugin 3.6.0 I activated the "Discover Tags" option in a Multibranch Pipeline Job. The tag is also discovered as expected, but no build is triggered.

           
          {code:java}
          Checking tags...
          Checking tag PNR-12345
          ‘Jenkinsfile’ found
          Met criteria
          Changes detected: PNR-12345 (null → d56c6578f5f04403f4bd64bf2647f3dd0f36e826)
          No automatic builds for PNR-12345
           Processed 1 tags
          {code}
          I expected that a new build is triggered, when a new tag is found. How to achieve this?

           
          New:  After upgrading to the Git Plugin 3.6.0 I activated the "Discover Tags" option in a Multibranch Pipeline Job. The tag is also discovered as expected, but no build is triggered.

           
          {code:java}
          Checking tags...
          Checking tag PNR-12345
          ‘Jenkinsfile’ found
          Met criteria
          Changes detected: PNR-12345 (null → d56c6578f5f04403f4bd64bf2647f3dd0f36e826)
          No automatic builds for PNR-12345
           Processed 1 tags
          {code}
          I expected that a new build is triggered, when a new tag is found. How to achieve this?

           
          Parichay Barpanda made changes -
          Link New: This issue is related to JENKINS-58477 [ JENKINS-58477 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Tamás made changes -
          Comment [ It is baffling to me how this basic functionality is not part of Jenkins. The "build storm" issue could easily be avoided. Even the recommended plugin has options to filter tags based on age, but you could even ignore all tags that were created before the feature was enabled in an installation. Lucky we have the "El Oyente" (yes, that's the actual name) pipeline trigger that runs builds based on XMPP pub/sub events. But no builds triggered by tags because that is somehow an unsolvable problem for Jenkins, unlike any CI in existence.  ]

            markewaite Mark Waite
            pmr Philipp Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: