How to Hide findbug graphs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to Hide findbug graphs

Ashok reddy
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'
            )
        }





--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6cca889c-e397-46d5-b457-08121ef33dbdn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to Hide findbug graphs

Ashok reddy
multiple empty findbug trend graphs are creating How to hide them from summery? 


On Tuesday, February 9, 2021 at 10:48:07 PM UTC+5:30 Ashok reddy wrote:
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'
            )
        }





--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/40a80df4-3c39-47ac-a30f-d1d6f5c153fan%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to Hide findbug graphs

John Patrick
have you tried aggregatingResults

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

John

On Tue, 9 Feb 2021 at 17:48, Ashok reddy <[hidden email]> wrote:

>
> multiple empty findbug trend graphs are creating How to hide them from summery?
>
>
> On Tuesday, February 9, 2021 at 10:48:07 PM UTC+5:30 Ashok reddy wrote:
>>
>> 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'
>>             )
>>         }
>>
>>
>>
>>
>>
> --
> 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 [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/40a80df4-3c39-47ac-a30f-d1d6f5c153fan%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAH9u10kt%3Db9XsVm%2BywdXf7NE9oQ%2BA6_mQZDrvDUVM9mBPmf2EA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to Hide findbug graphs

Ulli Hafner
In reply to this post by Ashok reddy
Which version of the warnings plugin are you using?

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


Am 09.02.2021 um 18:48 schrieb Ashok reddy <[hidden email]>:

multiple empty findbug trend graphs are creating How to hide them from summery? 


On Tuesday, February 9, 2021 at 10:48:07 PM UTC+5:30 Ashok reddy wrote:
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'
            )
        }






-- 
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/40a80df4-3c39-47ac-a30f-d1d6f5c153fan%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/D666FB7A-F1C1-44B1-BDFD-9B2386E98750%40gmail.com.