See quality gates:
https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md
 
<https://github.com/jenkinsci/warnings-ng-plugin/blob/master/doc/Documentation.md>


> Am 09.02.2021 um 19:06 schrieb Ashok reddy <ashokvi...@gmail.com>:
> 
> Hello Folks,
> 
> Below is the my pipeline script, How can I set the warnings limit for check 
> style warning 
> 
> 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 jenkinsci-users+unsubscr...@googlegroups.com 
> <mailto:jenkinsci-users+unsubscr...@googlegroups.com>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/c349b6a4-f3bf-4464-a4bf-d84a6fc5b0f7n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/c349b6a4-f3bf-4464-a4bf-d84a6fc5b0f7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/992E82E5-51E7-40D6-96B0-EAFB3F7EAEB7%40gmail.com.

Reply via email to