Changes are made as much as possible

This commit is contained in:
Thilakraj Kannadajeddu Mahabala 2019-06-10 16:59:55 +05:30
parent 87b3ee53ce
commit 4ae090b776

14
Jenkinsfile vendored
View file

@ -12,10 +12,16 @@ node {
} }
stage('Build'){ stage('Build') {
sh "mvn clean package" // Run the maven build
withEnv(["MVN_HOME=$mvnHome"]) {
} if (isUnix()) {
sh '"$MVN_HOME/bin/mvn" -Dmaven.test.failure.ignore clean package'
} else {
bat(/"%MVN_HOME%\bin\mvn" -Dmaven.test.failure.ignore clean package/)
}
}
}
stage('Archive') { stage('Archive') {
junit allowEmptyResults: true, testResults: '**/target/**/TEST*.xml' junit allowEmptyResults: true, testResults: '**/target/**/TEST*.xml'