I have an analysis number variable in my batch script that increments after every job build. I have to get this new value in my post build email notification. Jenkins job makes a copy of all system environment variables at the start up and this way I keep getting the same environment variable value in my post-build email, even though my analysis number environment variable stored in the system has incremented. My question is there a way to access the system environment variable and not its copy stored in Jenkins? |
I have an analysis number variable in my batch script that increments after every job build. I have to get this new value in my post build email notification. Jenkins job makes a copy of all system environment variables at the start up and this way I keep getting the same environment variable value in my post-build email, even though my analysis number environment variable stored in the system has incremented.
My question is there a way to access the system environment variable and not its copy stored in Jenkins?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0b01a537-7f38-44b3-b23f-15dbcde97130%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.