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 -> Phase -> Job configuration offers a 'Enable retry' option, so I was hoping this would then attempt a retry and kick off phase 2 if the job passed the second time.
My issue is the retry never seems to happen, below is some output on the console of the MultiJob
[EnvInject] - Loading node environment variables.
Building in workspace /var/lib/jenkins/jobs/build-process/workspace
>> Job status: [Job2] the 'build only if scm changes' feature is disabled.
Starting build job p2.
>> Job status: [Job1] the 'build only if scm changes' feature is disabled.
Starting build job p1.
Finished Build : #21 of Job : Job2 with status : FAILURE
Scanning failed job console output using parsing rule file .
Parser rules file not found.
Failed the build, the failure doesn't match the rules.
Finished Build : #23 of Job : Job1 with status : SUCCESS
Build step 'MultiJob Phase' marked build as failure
Notifying upstream projects of job completion
Warning: you have no plugins providing access control for builds, so falling back to legacy behavior of permitting any downstream builds to be triggered
Finished: FAILURE
I've highlighted the lines I believe may be causing the issue, however I've got no idea how to solve it (hopefully its missing config as apposed to a bug in the MultiJob plugin)
Any help greatly appreciated!