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
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.
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
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"
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
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
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
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
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 ->