Hi All,

any hints?

--
Regards,
Tomek Kaczanowski

On 13 Sie, 17:45, Tomek Kaczanowski <kaczanowski.to...@gmail.com>
wrote:
> Hi All,
>
> could someone post an example on how to read parameters passed from
> one job to another using Build Flow plugin? Plugin 
> documentationhttps://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugingives
> information on how to put a parameter to the job, but does not show
> how to use them there.
>
> The scenario I'm trying to implement is that:
> a) job "compile" checks sources from SVN and compiles things:
>     b = build( "compile" )
> b) flow job passes this value to another job, like this:
>     svn_rev = b.build.properties.environment['SVN_REVISION']
>     bUnit = build( "unit-tests" , svn_revision: svn_rev)
> c) job "unit-tests" should use this value in setting build name 
> (usinghttps://wiki.jenkins-ci.org/display/JENKINS/Build+Name+Setter+Plugin),
> however I can't figure out how to do it. Can't seem to be able to
> access svn_revision, from "unit-tests" job.
>
> Could someone enlighten me? I feel like missing something obvious.
>
> --
> Regards,
> Tomek Kaczanowski

Reply via email to