Hi Jesse,

Interesting, but do the flownode object in graph listener have the step
context?

On Tue, 15 Dec 2020, 22:14 Jesse Glick, <jgl...@cloudbees.com> wrote:

> On Tue, Dec 15, 2020 at 2:15 AM Sourabh Jain <sour...@sumologic.com>
> wrote:
>
>> I tried using run.getAction(EnvActionImpl.class); but it does not have
>> the environment variables.
>>
>
> No, do not use that. It would only have *global* environment variables
> (and not even all of those). `StepContext.get(EnvVars.class)` is used from
> within a step implementation to access contextual variables.
>
> --
> 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
> jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2-dgnKZdcUoNR1QO1U1YDXynkOoiJWnTxWuJr-Muhj%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr2-dgnKZdcUoNR1QO1U1YDXynkOoiJWnTxWuJr-Muhj%3Dg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CACHaJQTNNTKcGCmxYeXTJf57_JMkaMn3%3DXNqDMmGw4qXfrjkZw%40mail.gmail.com.

Reply via email to