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'){
sh "mvn clean package"
}
stage('Build') {
// 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') {
junit allowEmptyResults: true, testResults: '**/target/**/TEST*.xml'