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

build symlink plugin creating incorrect links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • build-symlink-plugin
    • None
    • Jenkins version 2.190.3, build symlink plugin 1.1

      Create a new pipeline job called linktest:

      pipeline {
          agent { label 'master' }
          stages {
              stage('build') {
                  steps {
                      echo "Hello World!"
                  }
              }
          }
      }
      

      Execute the job. The resulting symlinks for lastCompletedBuild, lastSuccessfulBuild and lastStableBuild are all linked to '-1'. Execute the job again and the links will now point to '1'. The resulting links for build which are successful or stable are always 1 less than the actual good build number. The permalinks file is reporting correct build numbers.

            jglick Jesse Glick
            fzbassman Eric Wallengren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: