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
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -13,8 +13,14 @@ 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') {
|
||||||
|
|
Loading…
Reference in a new issue