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

Supported way to get all defined environment variables

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

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

                Dates

                Created:
                Updated: