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

EnvInject plugin does not override variables defined as parameters for a job

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • envinject-plugin
    • None

      Simple job is attached to demonstrate the issue.

      Basically:

      • I have a parametrized build that is executing shell script
      • I am prepping the build env with EnvInject (groovy script)
      • If a parametric var is not defined the groovy script is supposed to set it from another that is defined
      • If target variable is not defined as parameter it works
      • If target variable is defined as parameter it fails.

      Versions:

      • Jenkins: 1.650
      • EnvInject: 1.92.1
      • OS: Linux
      • Setup: master + slaves
      • "Override Build Parameters" is set to true

          [JENKINS-33750] EnvInject plugin does not override variables defined as parameters for a job

            Unassigned Unassigned
            zeridon Vladimir Vitkov
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: