-
Bug
-
Resolution: Duplicate
-
Minor
-
None
When running multiple stages in parallel, the resulting log output is treated as one.
Example Jenkinsfile:
pipeline { agent any stages { stage("Parallel") { parallel { stage('revapi') { steps { sleep(time: 1, unit: "SECONDS") println "[INFO] --- revapi:0.15.0:check (default-cli) @ module ---" sleep(time: 3, unit: "SECONDS") println "[INFO] Looks good" } } stage('sonar') { steps { println "[INFO] --- sonar:3.11.0.3922:sonar (default-cli) @ module ---" sleep(time: 2, unit: "SECONDS") println "[ERROR] 13:40:02.300 Unable to run check" } } } } } post { always { recordIssues([ enabledForFailure: true, qualityGates: [[threshold: 1, type: 'TOTAL', unstable: true]], tools: [java()] ]) } } }
This results in the following warning:
The warning has incorrectly been assigned to revapi:check, even though it belongs to sonar:sonar. This would force us to use an incorrect filter on revapi:check to remove the warning.
- duplicates
-
JENKINS-55258 Support scanning of console log with parallel steps
- Open