Re: MultiJob retry functionality...I cant get it working

2020-10-21 Thread Anu S
Has anyone tried this option enable retry using jobdsl ? enable retry itself missing under multijob - steps - phase ... in the plugin - https://jenkinsci.github.io/job-dsl-plugin/ Then on the job itself, under Build > MultiJob Phase > Advanced...: 1. Check "Enable retry" 2. Select strategy

Re: MultiJob retry functionality...I cant get it working

2016-12-21 Thread chris
Thank you, I got it working for failures as well. On Wednesday, December 21, 2016 at 12:32:28 AM UTC-8, Vitaly Karasik wrote: > > You're right. > The only catch is that there is no description/examples how to write rules. > For instance, how to restart not only failed, but unstable jobs as well.

Re: MultiJob retry functionality...I cant get it working

2016-12-21 Thread Vitaly Karasik
You're right. The only catch is that there is no description/examples how to write rules. For instance, how to restart not only failed, but unstable jobs as well. At the end I just modify "unstable" status to "failure" in order to use rule for retry. On Thursday, October 15, 2015 at 4:44:09 PM U

Re: MultiJob retry functionality...I cant get it working

2016-12-20 Thread chris
Hi all, Thanks for the help! Just to clarify, the instructions are: In Manage Jenkins > Configure System: 1. Somewhere on the server running Jenkins, store a text file with the content from the Jenkins output to parse, for example "Finished: FAILURE" 2. Under "Multijob Retry Rules"

Re: MultiJob retry functionality...I cant get it working

2016-12-14 Thread Vitaly Karasik
Fernando, I see the same behavior - neither "UNSTABLE" not ".*" rules don't work for unstable build. Even, according to the plugin code, it's just Java regex match, i.e. both should work. Vitaly On Thursday, May 19, 2016 at 7:04:48 PM UTC+3, Fernando Miguélez wrote: > > > Great answer Aleksande

Re: MultiJob retry functionality...I cant get it working

2016-05-19 Thread Fernando Miguélez
Great answer Aleksander. This feature should definetly be better documented. In my case I found out that if if your task finishes with "UNSTABLE" instead of "FAILURE", phase retry configuration has no effect. El martes, 10 de mayo de 2016, 12:14:33 (UTC+2), Aleksandar Kasabov escribió: > > 1

Re: MultiJob retry functionality...I cant get it working

2016-05-10 Thread Aleksandar Kasabov
1) Make a parsing rule file, e.g. /var/lib/jenkins/rules/failures.txt with content 'Finished: FAILURE' 2) Register that in Jenkins general config, section "Multijob Retry Rules -> Parsing Rules" 3) Use that rule in the job that you want to be retried, the field is "Select strategy" which right b

Re: MultiJob retry functionality...I cant get it working

2016-01-14 Thread Zheng LiSheng
My problem is that nothing happens after selecting "Enable retry". On Thursday, October 15, 2015 at 9:44:09 PM UTC+8, Kris Massey wrote: > > Hey All, > > I'm new to the Jenkins MultiJOb plugin and I'm having some troubles using > the retry functionality. > > I have a job configured > > MultiJob

MultiJob retry functionality...I cant get it working

2015-10-15 Thread Kris Massey
Hey All, I'm new to the Jenkins MultiJOb plugin and I'm having some troubles using the retry functionality. I have a job configured MultiJob - Phase 1 - Job 1 - Job 2 - Phase 2 - Job 3 Job 2 can have random failures (due to external client system), I've noticed that the MultiJob ->