How to Hide findbug graphs

10 views
Skip to first unread message

Ashok reddy

unread,
Feb 9, 2021, 12:18:07 PM2/9/21
to Jenkins Users
Hello Team

I am working on maven pipeline project, below is the pipeline script. I am getting multiple find bug graphs How to Hide them 

stage('Build') {
            options {
                timeout(time: 30, unit: "MINUTES")
            }
            steps {

                withMaven(maven: 'Maven-3.5.2') {

                    sh 'mvn clean install'
                }
            }
        }
    }
    post {
        always {

            junit testResults: '**/target/surefire-reports/TEST-*.xml'
            recordIssues enabledForFailure: true, tool: checkStyle()
            recordIssues enabledForFailure: true, tool: spotBugs()
            recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml')

            jacoco(
                    exclusionPattern: '**/*Test*.class',
                    inclusionPattern: '**/*.class',
                    sourceInclusionPattern: '**/*.java'
            )
        }





Ashok reddy

unread,
Feb 9, 2021, 12:48:33 PM2/9/21
to Jenkins Users
multiple empty findbug trend graphs are creating How to hide them from summery? 

John Patrick

unread,
Feb 9, 2021, 3:13:32 PM2/9/21
to jenkins...@googlegroups.com
have you tried aggregatingResults

something like;
recordIssues enabledForFailure: true, aggregatingResults: true, tool: spotBugs()

John
> --
> You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/40a80df4-3c39-47ac-a30f-d1d6f5c153fan%40googlegroups.com.

Ullrich Hafner

unread,
Feb 10, 2021, 10:01:44 AM2/10/21
to Jenkins Users
Which version of the warnings plugin are you using?

You can also hide the charts using the property `trendChartType`.


Reply all
Reply to author
Forward
0 new messages