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

'Inject variables as a build step' resets slave's system path


    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • envinject-plugin
    • None
    • Jenkins Version: 1.532.1
      EnvInject Plugin Version: 1.88
      Slave: Windows 7
      Master: RHEL 5.8

      Using 'Inject variables as a build step', either through 'Properties File Path' or 'Properties Content', resets the system Path for subsequent build steps.
      Printing out the env before using this step matches the slave's system path variable, but after injecting variables as a build step, the new env printed shows a different path value, unsure where this new value is being set from, i couldn't map it to anything in our env, yet. The new path ofcourse messes with build environment.

            gbois Gregory Boissinot
            lata lata kopalle
            0 Vote for this issue
            2 Start watching this issue