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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 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. 

            vjuranek vjuranek
            yaoyao Yao Yao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: