Hi
At this moment I defined a environment variable called TEST1 with the value 'myvalue' under Manage Jenkins -> Configure System -> Global Properties. I have a groovy script when a project is being build containing
def env = System.getenv()
println(env['TEST1'])
println(env['USER'])
i got
myvalue
lroot
while in the Extensible Choice -> System Groovy Choice Parameter -> Groovy System Script i run the same scripts but i got only lroot
is there a way to get the environment variable in the extensible-choice like jenkins user hudson.model.User.current() or hudson.model.Hudson.instance.getAuthentication().getName()
thank and regards zacky