NM, there's an issue with build flow.
https://issues.jenkins-ci.org/browse/JENKINS-22779
On Monday, January 12, 2015 at 3:00:22 PM UTC-8, Lam Le wrote:
>
> hi, thx for suggestion. I have it running, but the only issue i run into
> is that if it actually fail, it is not triggerring a post action
hi, thx for suggestion. I have it running, but the only issue i run into
is that if it actually fail, it is not triggerring a post action. like if
it fail i want it to trigger parameterized build on other project. but its
not doing this.
out.println params["browser"]
out.println params["baseUr
Much better of course to use the retry statement of the build-flow plugin:
retry ( 3 ) {
build( "this_job_may_fail" )
}
Am 10.01.2015 um 11:15 schrieb Christoph Kutzinski:
If I understand your requirements correctly, I would use the build flow
plugin: https://wiki.jenkins-ci.org/display/JEN
If I understand your requirements correctly, I would use the build flow
plugin: https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin
Make the controller job a build flow job which calls the other 3 jobs in
a guard-rescue block each and let them re-run once if they fail in the
rescue b
I have a job which act as a controller. It call subsequent job using the
'Trigger/call builds on other projects' plugin. The controller call 3
other jobs, if any of these job fail, then it will rerun itself.
Controller:
J#1 - Pass
J#2 - Pass
J#3 - Fail, retry and Pass
In this case, the contro