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

Some environment variables are not updated correctly

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • multijob-plugin
    • None

      The TRIGGERED_JOB_NAMES environment variable will only ever contain one entry, always being that of the last job that was executed.

      When multiple instances of the same job are executed, the environment variable TRIGGERED_BUILD_RUN_COUNT_<job name> is not updated correctly. It will always be '1'

          [JENKINS-29229] Some environment variables are not updated correctly

          Robert Wilson created issue -
          Robert Wilson made changes -
          Summary Original: Some environmental variables are not updated correctly New: Some environment variables are not updated correctly
          Robert Wilson made changes -
          Description Original: The TRIGGERED_JOB_NAMES environmental variable will only ever contain one entry, always being that of the last job that was executed.

          When multiple instances of the same job are executed, the environmental variable TRIGGERED_BUILD_RUN_COUNT_<job name> is not updated correctly. It will always be '1'
          New: The TRIGGERED_JOB_NAMES environment variable will only ever contain one entry, always being that of the last job that was executed.

          When multiple instances of the same job are executed, the environment variable TRIGGERED_BUILD_RUN_COUNT_<job name> is not updated correctly. It will always be '1'

          Robert Wilson added a comment -

          I have created a pull request containing a fix for this issue

          Robert Wilson added a comment - I have created a pull request containing a fix for this issue

          Code changed in jenkins
          User: itaior
          Path:
          src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java
          http://jenkins-ci.org/commit/tikal-multijob-plugin/e6ab43f5f9755454caa8774a2d6c82f7c63ad1d6
          Log:
          Merge pull request #70 from neonplay/master

          JENKINS-29229 Fixed (and added) environment variables

          Compare: https://github.com/jenkinsci/tikal-multijob-plugin/compare/d62bdde308f3...e6ab43f5f975

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: itaior Path: src/main/java/com/tikal/jenkins/plugins/multijob/MultiJobBuilder.java http://jenkins-ci.org/commit/tikal-multijob-plugin/e6ab43f5f9755454caa8774a2d6c82f7c63ad1d6 Log: Merge pull request #70 from neonplay/master JENKINS-29229 Fixed (and added) environment variables Compare: https://github.com/jenkinsci/tikal-multijob-plugin/compare/d62bdde308f3...e6ab43f5f975
          Sebastian Schuberth made changes -
          Link New: This issue is related to JENKINS-25675 [ JENKINS-25675 ]

          Version 1.19 containing the fixes from PR #70 was released.

          Sebastian Schuberth added a comment - Version 1.19 containing the fixes from PR #70 was released.
          Sebastian Schuberth made changes -
          Assignee New: Robert Wilson [ robwilson ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164098 ] New: JNJira + In-Review [ 197414 ]

            robwilson Robert Wilson
            robwilson Robert Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: