Thanks for a quick response.So the context is lost after the job is completed..rgt.Thus, running "run.getEnvironment(listener);" does not give all the environment variables when the job is completed and we try to fetch the code.
--
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-de...@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.
--
--
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-de...@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.
--
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-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr13YjN70CHeBcJzLbN24iyr0tDL1iqUdHLSUrUkLyNyWA%40mail.gmail.com.
I tried using run.getAction(EnvActionImpl.class); but it does not have the environment 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-de...@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.
--
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-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0CXWP8h2Ldc70WaBo6w7O4P9doz3ocssZkTy295SJCjw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e16c9622-afd2-4111-9d3c-b8fdc88c1b59n%40googlegroups.com.
send some data(all environment variables, global or local) after each stage is completed in a jenkins Pipeline.
--
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-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1Wk4m2b6tK-oZnfddZKZ5WP1vcNURYWt7nUyMp3LcDNA%40mail.gmail.com.
We already have sumoupload function that can be used as a step to send the map (which is mostly env variables) to Sumo Logic.What we were trying to achieve is to remove the overhead of calling the sumoupload step and identifying a way where plugin can send the same data after the stage is complete.
--
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-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3M%3Dub6-rasq3PieXy1%2B-WV%3Dcc%2B46-7i46Mu9k_D41DFA%40mail.gmail.com.
From a quick glance it seems OK. A `Run` can be gotten from a `StepContext` BTW.