Node environment variables don't override global values in pipeline job

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical
    • None
    • Environment:
      Windows Server 2008R2 system,
      Jenkins ver. 2.32.2,
      Pipeline ver 2.5

      Hi.

      I found such issue:

      I defined global environment variableĀ 

      Then IĀ defined environment variable for my master node

      I have such pipeline script

      Ā 

      And an output for the script isĀ 

      In description for node env variables we have such message "Environment variables defined here will be made available to every build executed by this agent, and will override any environment variables that have the same Name as those defined on the Configure System page. "

      So it has to override a global value.

      I this this issue is somehow connected with these changes

      https://github.com/jenkinsci/workflow-job-plugin/pull/43

      Thank you.

        1. image-2017-07-26-13-58-56-274.png
          7 kB
          Alaiksei Savanchuk
        2. image-2017-07-26-13-59-35-554.png
          9 kB
          Alaiksei Savanchuk
        3. image-2017-07-26-14-00-52-124.png
          24 kB
          Alaiksei Savanchuk
        4. image-2017-07-26-14-01-13-801.png
          23 kB
          Alaiksei Savanchuk
        5. image-2017-07-26-14-04-46-992.png
          4 kB
          Alaiksei Savanchuk

            Assignee:
            Unassigned
            Reporter:
            Alaiksei Savanchuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: