Allow access to environment variables as Groovy variables

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

XMLWordPrintable

      People often confuse Groovy variables with environment variables and do not grasp how to access the latter from outside a forked process.

      CpsScript.getProperty ought to fall back to EnvActionImpl.getProperty as a convenience, so that you can access environment variables from a script as PROP_NAME in addition to env.PROP_NAME.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: