In particular I have a job that uses p4 and therefore sets the variable 
P4_CHANGELIST which I can pass to downstream jobs. How do I access this 
parameter from a job in order to pass it on when using the workflow plugin?

I want something like:

def thejob = build('myjob');
build job: 'nextjob: parameters: thejob.P4_CHANGELIST

or something. I'm sure it's simple but I cannot find any documentation that 
gives me any clues.

Thanks

andy

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c73b6132-ea93-4708-a718-477355061d1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to