CCM NG: Enabled analyse stage and processing JUnit results
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6027 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 17616e260e
pull/2/head
parent
d3c2c51b1b
commit
ad36ebb5dd
|
|
@ -17,13 +17,13 @@ pipeline {
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
// stage("Analyse") {
|
stage("Analyse") {
|
||||||
// steps {
|
steps {
|
||||||
// dir('') {
|
dir('') {
|
||||||
// sh 'mvn package pmd:pmd pmd:cpd spotbugs:spotbugs'
|
sh 'mvn package pmd:pmd pmd:cpd spotbugs:spotbugs'
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
|
|
@ -36,13 +36,13 @@ pipeline {
|
||||||
subject: "${currentBuild.fullDisplayName} FAILED!!!",
|
subject: "${currentBuild.fullDisplayName} FAILED!!!",
|
||||||
body: "Build ${env.BUILD_URL} failed."
|
body: "Build ${env.BUILD_URL} failed."
|
||||||
}
|
}
|
||||||
// always {
|
always {
|
||||||
// junit testResults: '**/target/surefire-reports/*.xml'
|
junit testResults: '**/target/surefire-reports/*.xml'
|
||||||
|
|
||||||
// recordIssues enabledForFailure: true, tools: [java(), javaDoc()]
|
recordIssues enabledForFailure: true, tools: [java(), javaDoc()]
|
||||||
// recordIssues enabledForFailure: false, tool: spotBugs()
|
recordIssues enabledForFailure: false, tool: spotBugs()
|
||||||
// recordIssues enabledForFailure: false, tool: cpd(pattern: '**/target/cpd.xml')
|
recordIssues enabledForFailure: false, tool: cpd(pattern: '**/target/cpd.xml')
|
||||||
// recordIssues enabledForFailure: false, tool: pmdParser(pattern: '**/target/pmd.xml')
|
recordIssues enabledForFailure: false, tool: pmdParser(pattern: '**/target/pmd.xml')
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue