-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: pipeline
We have several jobs set up to trigger other downstream builds. One of our main job is written to kick off 6 downstream jobs using the 'build job' Jenkinsfile pipeline script code.
However, the downstream jobs are only automatically built some of the times, not all.
And sometimes when some of the downstream jobs are started, the rest aren't.
I've looked in the main Jenkins log file, and there is (unfortunately) no logging which appears around the time that either the upstream job started/stopped or when the downstream job should have been started relating to this. I would greatly appreciate any tips to maybe add additional logging, or where else to look for logging regarding this particular build step.
We're running Jenkins 2.60.3.
Upstream job relevant code:
stage("Build dependencies if branch is develop") {
if( newBranch.matches('develop')) {
build job: 'job1', wait: false
build job: 'job2', wait: false
build job: 'job3', wait: false
build job: 'job4', wait: false
build job: 'job5', wait: false
build job: 'job6', wait: false
}
}
Â
I do apologize for the lack of detailed information, however there doesn't appear much that I can provide from our Jenkins server.