I have a build flow scenario similar to the documentation example: two jobs, one running after the other.
b = build("job1")
build("job2", param1: b.????)
My job1
is a shell script that builds a package out of a checked out git repositoy and prints out the version of the built package.
I need to extract the version from job1
(parse output??) and make it available somehow as a parameter to job2
. How can this be achieved? Please note that I can't know the version before running job1
.