On Mon, Aug 31, 2020 at 8:44 AM Sourabh Jain <sour...@sumologic.com> wrote: > How Can I get the Environment Variables that are created in a Jenkins > Pipeline.
If you mean from within a Pipeline step, you should use stepContext.get(EnvVars.class) which will look up variables defined in a particular context. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0Z%3DaLD%3DKiLD9WKbUZJ%2BVFHmugy8JEG8DL8Wc-nZrMjvA%40mail.gmail.com.