Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42855

BUILD_ID not sequential for Pipeline jobs when hp-application-automation-tools is installed

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker

      Most jobs have started incrementing their build numbers by 2.  A few jobs have started counting by 3.  I thought it may have been folder related as one of the jobs that was counting by 3 was a bit deeper in a folder, but in further testing, a test job was counting by 2 no matter if it was 5 folders deep, or in the root of Jenkins.

      Test job which is counting by 2 is built with this Jenkinsfile put directly in the editor in Jenkins so no SCM involved
      pipeline{
          agent{ label 'master' }
          stages{
              stage("test"){
                  steps{
                      echo "test"
                  }
              }
          }
      }

      Testing a freestyle job which also just did an echo and everything was sequential

          [JENKINS-42855] BUILD_ID not sequential for Pipeline jobs when hp-application-automation-tools is installed

          Tom Larrow created issue -

          Andrew Bayer added a comment -

          Did you get this with a Scripted Pipeline job? I'd assume you will if you did for Declarative, but just to be sure...

          Andrew Bayer added a comment - Did you get this with a Scripted Pipeline job? I'd assume you will if you did for Declarative, but just to be sure...

          Andrew Bayer added a comment -

          I'm failing to reproduce this on an up-to-date-everything set of plugins with core 2.50. Hrrrm.

          Andrew Bayer added a comment - I'm failing to reproduce this on an up-to-date-everything set of plugins with core 2.50. Hrrrm.

          Tom Larrow added a comment -

          Yes, I put together a quick scripted job and it is performing the same way.

          Tom Larrow added a comment - Yes, I put together a quick scripted job and it is performing the same way.

          Tom Larrow added a comment -

          Any other plugins you need versions of? Is there an easy way to generate a report of what I have installed?

          Tom Larrow added a comment - Any other plugins you need versions of? Is there an easy way to generate a report of what I have installed?
          Tom Larrow made changes -
          Attachment New: plugins.xml [ 36563 ]

          Tom Larrow added a comment -

          Added an xml report of all plugins installed.  We had been delaying updating packages while we pushed through a major release, so there were a large number of plugins updated this morning.  

          Tom Larrow added a comment - Added an xml report of all plugins installed.  We had been delaying updating packages while we pushed through a major release, so there were a large number of plugins updated this morning.  

          Andrew Bayer added a comment -

          If at all possible, I'd love to get all the plugins/versions - try running this in the script console:

          Jenkins.instance.pluginManager.plugins.sort { it.getShortName() }.each { p ->
            println "${p.getShortName()}:${p.getVersion()}"
          }

          Andrew Bayer added a comment - If at all possible, I'd love to get all the plugins/versions - try running this in the script console: Jenkins.instance.pluginManager.plugins.sort { it.getShortName() }.each { p -> println "${p.getShortName()}:${p.getVersion()}" }
          Tom Larrow made changes -
          Attachment New: plugins.txt [ 36564 ]

          Tom Larrow added a comment -

          plugins.txt added with that output

          Tom Larrow added a comment - plugins.txt added with that output

            mseldin Michael Seldin
            tomlarrow Tom Larrow
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: