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

Version number variable empty when multiple concurrent builds are running

      I have configured a job to generate and use a version number like this: 0.0.${BUILD_NUMBER}.${SVN_REVISION}
      and place it in a variable called BUILD_VERSION.
      This works nicely when only one build is executing. But if a second build of the job is started while the first is running, the content of the BUILD_VERSION variable will be empty for the duration of that build.

      This is a major issue for us since it practically means we have to turn of "Execute concurrent builds if necessary" on all our CI builds.

          [JENKINS-12997] Version number variable empty when multiple concurrent builds are running

          Peter Lillevold created issue -
          Peter Lillevold made changes -
          Component/s New: plugin [ 15491 ]

          (minor edit: fixed spelling in Summary)

          Peter Lillevold added a comment - (minor edit: fixed spelling in Summary)
          Peter Lillevold made changes -
          Summary Original: Verson number variable empty when multiple concurrent builds are running New: Version number variable empty when multiple concurrent builds are running
          Daniel Beck made changes -
          Component/s Original: plugin [ 15491 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 143457 ] New: JNJira + In-Review [ 175917 ]

            Unassigned Unassigned
            plillevold Peter Lillevold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: