mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
build stage only
This commit is contained in:
parent
5a3aef68a2
commit
f503fdf2be
1 changed files with 1 additions and 23 deletions
24
Jenkinsfile
vendored
24
Jenkinsfile
vendored
|
@ -6,28 +6,6 @@ pipeline {
|
||||||
sh './mvnw package'
|
sh './mvnw package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Test') {
|
|
||||||
steps {
|
|
||||||
sh 'mvn test'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Package') {
|
|
||||||
steps {
|
|
||||||
sh 'mvn package'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('Deploy') {
|
|
||||||
when {
|
|
||||||
branch 'master'
|
|
||||||
}
|
|
||||||
steps {
|
|
||||||
sh './mvnw deploy'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue