Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
      Jenkins 2.73.2, Git Plugin 3.6.0, Pipeline: Multibranch 2.16
    • Similar Issues:

      Description

      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?

       

        Attachments

          Issue Links

            Activity

            Hide
            ss_vinoth22 vinoth SS added a comment -

            I found some issue on Build strategy plugin for tags, 

            if i specify Ignore tags newer than to 1 days, no automated builds are triggering, if i specify only 7 days builds are triggering, can we have that restriction to 1 day as well. so that automated builds will trigger only for tags which created less than 1 day.

             

            Show
            ss_vinoth22 vinoth SS added a comment - I found some issue on Build strategy plugin for tags,  if i specify Ignore tags newer than to 1 days, no automated builds are triggering, if i specify only 7 days builds are triggering, can we have that restriction to 1 day as well. so that automated builds will trigger only for tags which created less than 1 day.  
            Hide
            bitwiseman Liam Newman added a comment -

            vinoth SS
            Please open a new JIRA for that.

            Show
            bitwiseman Liam Newman added a comment - vinoth SS Please open a new JIRA for that.
            Hide
            ss_vinoth22 vinoth SS added a comment -

            Sure, thanks i have opened up the ticket : https://issues.jenkins-ci.org/browse/JENKINS-57772

            Show
            ss_vinoth22 vinoth SS added a comment - Sure, thanks i have opened up the ticket :  https://issues.jenkins-ci.org/browse/JENKINS-57772
            Hide
            slonopotamusorama Marat Radchenko added a comment -

            Stephen Connolly R. Tyler Croy

            This article clearly states that if we add "Discover tags" to multibranch pipeline, Jenkins will trigger builds when tags are pushed into repo. But this bug ( JENKINS-47496 ) says that tags are not supposed to trigger a build automatically. Could you please decide somehow which one of you is right?

            As a Jenkins user, I +1 for tag triggering. We want to use this to build/publish releases whenever Git tag is created. This is the way all other major CI systems work: Travis CI, CircleCI, AppVeyour.

            Show
            slonopotamusorama Marat Radchenko added a comment - Stephen Connolly R. Tyler Croy This article clearly states that if we add "Discover tags" to multibranch pipeline, Jenkins will trigger builds when tags are pushed into repo. But this bug ( JENKINS-47496 ) says that tags are not supposed to trigger a build automatically. Could you please decide somehow which one of you is right? As a Jenkins user, I +1 for tag triggering. We want to use this to build/publish releases whenever Git tag is created. This is the way all other major CI systems work: Travis CI, CircleCI, AppVeyour.
            Hide
            bitwiseman Liam Newman added a comment -

            Marat Radchenko

            Please use the Basic Branch Build Strategies plugin.

            Show
            bitwiseman Liam Newman added a comment - Marat Radchenko Please use the Basic Branch Build Strategies plugin.

              People

              • Assignee:
                markewaite Mark Waite
                Reporter:
                pmr Philipp Moeller
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: