Skip to content

Commit

Permalink
Update Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongyuanzhao000 authored Apr 4, 2020
1 parent 97a90f0 commit a94e6c3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions jenkins-ci/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ pipeline {
sh "mvn pmd:pmd"

jacoco(
execPattern: 'target/jacoco.exec',
classPattern: 'target/classes',
sourcePattern: 'src/main/java',
execPattern: '**/target/jacoco.exec',
classPattern: '**/target/classes',
sourcePattern: '**/src/main/java',
changeBuildStatus: true,
minimumMethodCoverage:'30',maximumMethodCoverage:'70',
minimumClassCoverage:'30',maximumClassCoverage:'70'
minimumMethodCoverage:'0',maximumMethodCoverage:'70',
minimumClassCoverage:'0',maximumClassCoverage:'70'

)

Expand All @@ -48,7 +48,7 @@ pipeline {
post {
always {
pmd(canRunOnFailed: true, pattern: '**/target/pmd.xml')
junit testResults: "**/target/surefire-reports/*.xml"
junit testResults: "**/target/surefire-reports/*.xml"
}
failure {
mail from : 'jenkinsx@163.com',
Expand Down

0 comments on commit a94e6c3

Please sign in to comment.