Hi Jesse, Thanks for suggestions.
I will use withenv or environment block to set environment variables. But how to access the class which implements *graphlistener* class? I tried using run.getAction(EnvActionImpl.class); but it does not have the environment variables. Please advise. On Mon, Dec 14, 2020 at 10:23 PM Jesse Glick <[email protected]> wrote: > Not exactly sure what you are asking for. API from a plugin? Defining > a step? Some other kind of listener? > > BTW do not use > > env.KEY = value > > Use the `withEnv` step. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Developers" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/jenkinsci-dev/CDKvVuClyJk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr13YjN70CHeBcJzLbN24iyr0tDL1iqUdHLSUrUkLyNyWA%40mail.gmail.com > . > -- Best Regards, *Sourabh Jain* *8408019626* Integration Engineer, APP DEV team, -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CACHaJQQTHHXvKJoWTiCvGiNm%2BN-HWMEKOy%3Dt-BwqC3YkYHY77w%40mail.gmail.com.
