Skip to content

Commit 723f77d

Browse files
author
lerndevops
authored
Update Jenkinsfile
1 parent 94b9a74 commit 723f77d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pipeline {
1212
stage('codereview-pmd') {
1313
post {
1414
success {
15-
pmd(canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '**/pmd.xml', unHealthy: '')
15+
recordIssues enabledForFailure: true, tool: pmdParser(pattern: '**/target/pmd.xml')
1616
}
1717

1818
}
@@ -52,4 +52,4 @@ pipeline {
5252
}
5353

5454
}
55-
}
55+
}

0 commit comments

Comments
 (0)