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

EnvInject Plugin 1.26 does not substitute ${WORKSPACE} correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • envinject-plugin
    • None

      This problem appeared when I upgraded the EnvInject Plugin from 1.25 to 1.26, so the problem was probably introduced with the fix for JENKINS-12704.

      I have a job with "Inject environment variables to the build process" selected, and the following line in "Properties Content":
      materialize_workspace_path=${WORKSPACE}/materialize_workspace

      In 1.25, this environment variable was correctly given the value
      /scratch/jenkins_workspace/GDA_master.tests.RH5_64/materialize_workspace

      In 1.26, this environment variable was WRONGLY given the value
      /scratch/jenkins_slave//scratch/jenkins_workspace/GDA_master.tests.RH5_64/materialize_workspace

            gbois Gregory Boissinot
            mwebber Matthew Webber
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: