Hi,

I'm trying to set a variable in one job and have it passed along to the
next, something that can easily be achieved by using the Parameterized
trigger plugin.

When using the build flow plugin
https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin I'm having
some trouble to do the same though.

So let's say I have a flow script that looks like:

a = build("FirstJob")
b = build("SecondJob", param:???)

Just to be clear, the values I want to use as input to SecondJob are not
accessible in the main flow job before running FirstJob.

Would anyone have a good idea of how I would go about setting some
variables in FirstJob and have them passed into SecondJob as parameters?

I'm thinking something like
b = build("SecondJob", param: a.parameters.firstParam)

Best regards,
Patrik

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to