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 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

          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.

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

              Created:
              Updated:
              Resolved: