Jenkins Pipeline set environmental variable empty if there already same variable name defined

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      In pipleline job, when setting a variable like:

      environment

      { dc = "20" }

      At the same time, if there is global variable definedĀ 

      The problem is, the "dc" variable can not be used (found)Ā  in pipeline shell environment variable. However if variable use uppercase like "DC", it can be used.Ā 

            Assignee:
            vjuranek
            Reporter:
            Yao Yao
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: