Hi Guys,
There seems to be an issues accessing the Environment variables from the
'p4' plugin?
node {
p4sync charset: 'none', credential: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx',
depotPath: '//depot'
echo env.P4_CHANGELIST
echo env.JOB_NAME
}
JOB_NAME gets displayed, but P4_CHANGELIST is null? However, with the
Freestyle Job both are available.
Is this a 'scope' issue? Do I need to do something more than assign them in
buildEnvVars():
https://github.com/jenkinsci/p4-plugin/blob/master/src/main/java/org/jenkinsci/plugins/p4/PerforceScm.java#LC411
Kind regards,
Paul
--
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/e7f37020-6bc5-479a-99a0-a3090157864e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.