• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • Windows 7 64Bit, jenkins 1.600

      Since the update to jenkins 1.600 every project has the BUILDID and BUILD_TAG from previous project:

      BUILD_DISPLAY_NAME=#1964
      BUILD_ID=442
      BUILD_NUMBER=442
      BUILD_TAG=jenkins-ImageVision_1-442
      BUILD_URL=http://heilbutt:8080/job/DiaShow_Easy/1964/

      While I'm not happy that for some time now the BUILD_ID has been the same number as the BUILD_DISPLAY_NAME instead of a timestamp, this new discrepancy needs to be fixed quickly.

          [JENKINS-27188] BUILDID and BUILD_TAG from previous project

          John McClane added a comment -

          We are using the Build Flow plugin and the build numbers are not being passed correctly after upgrading to 1.600.

          build_job1 = build("Build 1")
          build_job2 = build("Build 2")
          deploy_job = build("Deploy", DEPLOY_BUILD_NUMBER: build_job2.build.number)

          When the "Deploy" job runs in this instance, the DEPLOY_BUILD_NUMBER environment variable is the one from build_job1 instead of build_job2. I realize this thread is not about the Build Flow Plugin but I'm guessing the root cause is the same.

          John McClane added a comment - We are using the Build Flow plugin and the build numbers are not being passed correctly after upgrading to 1.600. build_job1 = build("Build 1") build_job2 = build("Build 2") deploy_job = build("Deploy", DEPLOY_BUILD_NUMBER: build_job2.build.number) When the "Deploy" job runs in this instance, the DEPLOY_BUILD_NUMBER environment variable is the one from build_job1 instead of build_job2. I realize this thread is not about the Build Flow Plugin but I'm guessing the root cause is the same.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          test/src/test/java/hudson/model/NodeTest.java
          test/src/test/java/jenkins/tasks/SimpleBuildWrapperTest.java
          http://jenkins-ci.org/commit/jenkins/e559f39697dad8ee44320b092fc7b32c35ac1eb9
          Log:
          JENKINS-27188 Picking a better test location for #1590.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: test/src/test/java/hudson/model/NodeTest.java test/src/test/java/jenkins/tasks/SimpleBuildWrapperTest.java http://jenkins-ci.org/commit/jenkins/e559f39697dad8ee44320b092fc7b32c35ac1eb9 Log: JENKINS-27188 Picking a better test location for #1590.

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          http://jenkins-ci.org/commit/jenkins/7d6cd1bd5b4675dbbcf1df08eb4760fdaea8dffc
          Log:
          JENKINS-27188 Noting merge of #1590.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html http://jenkins-ci.org/commit/jenkins/7d6cd1bd5b4675dbbcf1df08eb4760fdaea8dffc Log: JENKINS-27188 Noting merge of #1590.

          dogfood added a comment -

          Integrated in jenkins_main_trunk #3994
          JENKINS-27188 Picking a better test location for #1590. (Revision e559f39697dad8ee44320b092fc7b32c35ac1eb9)
          JENKINS-27188 Noting merge of #1590. (Revision 7d6cd1bd5b4675dbbcf1df08eb4760fdaea8dffc)

          Result = SUCCESS
          jesse glick : e559f39697dad8ee44320b092fc7b32c35ac1eb9
          Files :

          • test/src/test/java/hudson/model/NodeTest.java
          • test/src/test/java/jenkins/tasks/SimpleBuildWrapperTest.java

          jesse glick : 7d6cd1bd5b4675dbbcf1df08eb4760fdaea8dffc
          Files :

          • changelog.html

          dogfood added a comment - Integrated in jenkins_main_trunk #3994 JENKINS-27188 Picking a better test location for #1590. (Revision e559f39697dad8ee44320b092fc7b32c35ac1eb9) JENKINS-27188 Noting merge of #1590. (Revision 7d6cd1bd5b4675dbbcf1df08eb4760fdaea8dffc) Result = SUCCESS jesse glick : e559f39697dad8ee44320b092fc7b32c35ac1eb9 Files : test/src/test/java/hudson/model/NodeTest.java test/src/test/java/jenkins/tasks/SimpleBuildWrapperTest.java jesse glick : 7d6cd1bd5b4675dbbcf1df08eb4760fdaea8dffc Files : changelog.html

          Daniel Beck added a comment -

          The cause and fix for this is the same as for JENKINS-27178. This will be fixed in 1.601 (despite what the changelog on the Jenkins website might say).

          Daniel Beck added a comment - The cause and fix for this is the same as for JENKINS-27178 . This will be fixed in 1.601 (despite what the changelog on the Jenkins website might say).

          Daniel Beck added a comment -

          A user reported this issue affecting Jenkins 1.602. Does anyone watching this issue know anything about that?

          Daniel Beck added a comment - A user reported this issue affecting Jenkins 1.602. Does anyone watching this issue know anything about that?

          I also experienced this (or related) issue with 1.602. PATH variable is being messed up from different jobs and/or nodes. Using EnvInject 1.91.1, downgraded to 1.90 didn't fix the issue. Reverting core to 1.598 fixes behavior immediately.

          Krzysztof Malinowski added a comment - I also experienced this (or related) issue with 1.602. PATH variable is being messed up from different jobs and/or nodes. Using EnvInject 1.91.1, downgraded to 1.90 didn't fix the issue. Reverting core to 1.598 fixes behavior immediately.

          Daniel Beck added a comment -

          raspy Please file a new issue and provide as much detail has you can. https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

          Daniel Beck added a comment - raspy Please file a new issue and provide as much detail has you can. https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue

          Actually it's rather JENKINS-27197 which was duplicated to this issue. Moreover, you asked if it is still visible, so I reported. If you prefer another issue for this behavior, I can raise a new one.

          Krzysztof Malinowski added a comment - Actually it's rather JENKINS-27197 which was duplicated to this issue. Moreover, you asked if it is still visible, so I reported. If you prefer another issue for this behavior, I can raise a new one.

          Daniel Beck added a comment -

          If you prefer another issue for this behavior, I can raise a new one.

          Yes please. Unless the environment variables mentioned in the original report are still broken for you, it's a different (but possibly related) issue.

          Daniel Beck added a comment - If you prefer another issue for this behavior, I can raise a new one. Yes please. Unless the environment variables mentioned in the original report are still broken for you, it's a different (but possibly related) issue.

            ndeloof Nicolas De Loof
            pfennig59 Kerstin Thaler
            Votes:
            4 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: