- Suppose build dependencies like:
- project dist depends on project A and project B
- both project A and project B have 'Trigger only if build is stable'
in the 'Build other projects' section
- project A and project B are both starting a build at the same time.
- a build for project dist is scheduled
- project A build succeeds
- the build for project dist blocks because project B is still building
- project B build fails
- project dist builds (even though project B failed!) and fails
The build for project dist should have been cancelled
Not a bug, because that's simply not how those triggers work. They are acting independently.
Look into the various workflow related plugins for Jenkins to see if any of them can do what you want here (e.g. MultiJob, Build Pipeline, Build Flow, the early stage Workflow plugin, etc.)