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

Supported way to get all defined environment variables

XMLWordPrintable

      env.getEnvironment() will list environment variables defined globally on the flow build, but not locally defined variables, and it does not work in the sandbox either. Would be desirable to have a whitelisted env.properties returning a Map<String,String> of the effective environment.

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: