Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54750

Multiple charts of same type not shown on job summary page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • warnings-ng-plugin
    • 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.

       

            drulli Ulli Hafner
            davida2009 David Aldrich
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: