-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Copy link
Description
Jenkins and plugins versions report
N/A
What Operating System are you using (both controller, and any agents involved in the problem)?
N/A
Reproduction steps
pipeline {
agent any
stages {
stage('Tests') {
parallel {
stage('Failure caught') {
steps {
catchError(buildResult: 'SUCCESS', catchInterruptions: false, stageResult: 'FAILURE') {
sh 'exit 1'
}
}
}
stage('Fails') {
steps {
sh 'exit 1'
}
}
stage('Passes') {
steps {
sh 'sleep 10s'
}
}
}
}
}
}See the video too.
Expected Results
To be marked as red as soon as it is marked as failed, like happens with sequential stages.
Actual Results
chrome_yBOHqWzp0e.mp4
Anything else?
Note this issue also happens in Blue Ocean:
chrome_YUhVM4KjZH.mp4
But I have no expectation this will be ever fixed there.
This issue is very relevant for me because I have a pipeline which runs other pipelines in parallel and some of them take 5 hours. If one of them fail early, it's shown as passing until the longest one finishes, which is very misleading and I have to teach my developers against it.
Are you interested in contributing a fix?
No response
Metadata
Metadata
Assignees
Labels
No labels