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

EnvInject 1.33 doesn''t seem to work with Jenkins 1.454

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I upgraded jenkins to 1.454 and envinject to 1.33 and the variables where not being set. I downgraded envinject to 1.31 and it worked again.

      I'm using "Prepare an environment for the job" "Properties Content" section and have "Keep Jenkins Environment Variables" and " Keep Jenkins Build Variables" enabled.

        Attachments

          Activity

          Hide
          gbois Gregory Boissinot added a comment -

          I tried with version 1.454 and I'm afraid I didn't reproduce the issue.
          Could you attach your job descriptor (config.xml - found in $JENKINS_HOME/jobs/<job_name>/config.xml)?
          I'll try to reproduce it with your configuration.
          Thanks
          Gregory

          Show
          gbois Gregory Boissinot added a comment - I tried with version 1.454 and I'm afraid I didn't reproduce the issue. Could you attach your job descriptor (config.xml - found in $JENKINS_HOME/jobs/<job_name>/config.xml)? I'll try to reproduce it with your configuration. Thanks Gregory
          Hide
          anthonyjeffery anthonyjeffery added a comment -

          Attaching job descriptor per your request

          Show
          anthonyjeffery anthonyjeffery added a comment - Attaching job descriptor per your request
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Gregory Boissinot
          Path:
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuildWrapper.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuilder.java
          src/main/java/org/jenkinsci/plugins/envinject/EnvInjectListener.java
          src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectVariableGetter.java
          http://jenkins-ci.org/commit/envinject-plugin/bf15513e57f910d0376bca9f4f9c22cf1966d637
          Log:
          Fix JENKINS-13022

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Gregory Boissinot Path: src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuildWrapper.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectBuilder.java src/main/java/org/jenkinsci/plugins/envinject/EnvInjectListener.java src/main/java/org/jenkinsci/plugins/envinject/service/EnvInjectVariableGetter.java http://jenkins-ci.org/commit/envinject-plugin/bf15513e57f910d0376bca9f4f9c22cf1966d637 Log: Fix JENKINS-13022
          Hide
          gbois Gregory Boissinot added a comment -

          Thanks for your input.
          I fixed it.

          Show
          gbois Gregory Boissinot added a comment - Thanks for your input. I fixed it.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              jimsearle Jim Searle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: