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

EnvInject Plugin 1.26 does not substitute ${WORKSPACE} correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: