CCM NG: Disabled some things in Jenkinsfile for debugging

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6023 8810af33-2d31-482b-a856-94f89814c4df
jensp 2019-05-09 16:59:54 +00:00
parent 1a8e49c58b
commit ef82ee946f
1 changed files with 20 additions and 19 deletions

39
Jenkinsfile vendored
View File

@ -7,22 +7,23 @@ pipeline {
stage('Build and Test') { stage('Build and Test') {
steps { steps {
dir('') { dir('') {
sh 'mvn clean package test -Pwildfly-remote-h2-mem' // sh 'mvn clean package test -Pwildfly-remote-h2-mem'
} sh 'mvn clean package -DskipTests'
}
post {
always {
sh 'sudo systemctl restart wildfly'
} }
} }
// post {
// always {
// sh 'sudo systemctl restart wildfly'
// }
// }
} }
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,12 +37,12 @@ pipeline {
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')
} }
} }
} }