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

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Component/s: workflow-cps-plugin
    • None

      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
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: