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

Env Inject Plugin doesn't substitute ${WORKSPACE} variable at all when used in 'Preparing an environment for the job'

XMLWordPrintable

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

      Since we upgraded to EnvInject v1.30 we don't get our variable set if they are dependend on ${WORKSPACE}.
      Please check the job log snippet:
      --------------------------------------------------------------
      11:02:12 [EnvInject] - Preparing an environment for the job.
      11:02:12 [EnvInject] - Jenkins system variables are kept.
      11:02:12 [EnvInject] - Jenkins build variables are kept.
      11:02:12 [EnvInject] - Injecting as environment variables the properties content
      11:02:12 HOME=${WORKSPACE}\home\<USER>
      11:02:12
      11:02:12 [EnvInject] - Variables injected successfully.
      11:02:12 [EnvInject] - Unset unresolved 'WORK_DRIVE' variable.
      11:02:12 [EnvInject] - Unset unresolved 'HOME' variable.

            gbois Gregory Boissinot
            macdrega Joerg Schwaerzler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: