Pipeline calling pipeline calling freestyle job

16 views
Skip to first unread message

Chris Overend

unread,
Oct 26, 2017, 12:11:59 PM10/26/17
to Jenkins Users
I have:

booleanParam(name: 'force_build', value: force_build.toBoolean())

This works
    Pipeline with parameter (force_build=True) -> freestsyle job with parameter (force_build=False)

    The value of force_build in the freestyle job is now True

This does not work.
     Pipeline job with a parameter (force_build=True) -> Pipeline with parameter (force_build=False) -> freestsyle job with parameter (force_build=False)

    The value of force_build in second Pipeline is still False
    The value of force_build in the freestyle job is still False
    My expectation is that 1st pipeline force_build=True will override the other parameters down the call stack.


Is this not supported?

Robert Hales

unread,
Oct 26, 2017, 2:56:00 PM10/26/17
to Jenkins Users
How are you calling the jobs? IE, how does the pipeline job trigger the other pipeline or freestyle jobs? 
Reply all
Reply to author
Forward
0 new messages