mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Changes are made as much as possible
This commit is contained in:
parent
87b3ee53ce
commit
4ae090b776
1 changed files with 10 additions and 4 deletions
14
Jenkinsfile
vendored
14
Jenkinsfile
vendored
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue