mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update Jenkinsfile
This commit is contained in:
parent
63436b3d39
commit
9edb4ea41b
1 changed files with 14 additions and 2 deletions
16
Jenkinsfile
vendored
16
Jenkinsfile
vendored
|
@ -1,9 +1,21 @@
|
||||||
pipeline{
|
pipeline{
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage("Build"){
|
stage("Compile"){
|
||||||
steps{
|
steps{
|
||||||
sh './mvnw package'
|
sh './mvnw compile'
|
||||||
|
}
|
||||||
|
stage("Test"){
|
||||||
|
steps{
|
||||||
|
sh './mvnw test'
|
||||||
|
}
|
||||||
|
stage("Install"){
|
||||||
|
steps{
|
||||||
|
sh './mvnw install'
|
||||||
|
}
|
||||||
|
stage("Deploy"){
|
||||||
|
steps{
|
||||||
|
sh './mvnw deploy'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue