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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c349b6a4-f3bf-4464-a4bf-d84a6fc5b0f7n%40googlegroups.com.

Reply via email to