-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 2.138.3 LTS
Warnings plugin 5.0.0.-beta4
-
-
beta8 (warnings-ng), beta17 (analysis-model-api)
For a declarative pipeline that runs multiple agents in parallel, to perform compilations with different gcc versions, we report the warnings separately for each agent:
stages { stage('build') { parallel { stage('centos 6') { agent { label "centos 6" } steps { sh ''' make ''' recordIssues minimumSeverity: 'HIGH', reportEncoding: '', sourceCodeEncoding: '', tools: [[id: 'centos5-warnings', name: 'Centos 5', pattern: '', tool: [$class: 'Gcc4']]] } } stage('centos7') { agent { label "centos7" } steps { sh ''' make ''' recordIssues minimumSeverity: 'HIGH', reportEncoding: '', sourceCodeEncoding: '', tools: [[id: 'centos6-warnings', name: 'Centos 6', pattern: '', tool: [$class: 'Gcc4']]] } } etc.
After a run, the job summary page does not show the charts:
If I click on the individual warnings links on the left hand side I do see a chart.