Hi Team,
How Can I get the Environment Variables that are created in a Jenkins
Pipeline.
environment {
ENV_V_1 = "SASbv"
}
For now when I try to use
EnvVars environment = run.getEnvironment(listener);
It fetches only the Environment variables attached with the Jenkins Job.
Pointer to any code or link will be helpful.
Thanks,
Sourabh Jain
Maintainer - sumologic-publisher plugin
--
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/a84644ef-21ba-43e7-a36a-f33d9386e431n%40googlegroups.com.