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

Workflow plugin does not pick up environment injector variables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • pipeline
    • None
    • Jenkins 1.613, Workflow plugin 1.6

      When creating a workflow job it allows you to select "Prepare an environment to run" However, none of the variables in there appear to be available to the workflow. I tried various methods to access the environment variables from the injector plugin (through the run object or the env object), but I cannot get the values from inside the workflow script.

            jglick Jesse Glick
            nsnewland Nicholas Newland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: