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

envinject overrides build parameters with node environment

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      Environment Injector Plugin 1.89
    • Similar Issues:

      Description

      on slave system env I have FOO set. This is also the name for a build parameter. I expect FOO to be set during build to parameter value I pass to build, but with envinject installed (even when not enabled on my job) build parameter is overiden with node environment.

      This wasn't the case in 1.76 and previous, seems this has been introduced by https://github.com/jenkinsci/envinject-plugin/commit/ed245ce8c7b4562159291a3599d6638e65301155. Anyway I don't understand JENKINS-14437 use-case, I doesn't make sense to me to override build parameters (why would you define a parameter then ?).

        Attachments

          Activity

            People

            • Assignee:
              ndeloof Nicolas De Loof
              Reporter:
              ndeloof Nicolas De Loof
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: