mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +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{
|
||||
agent any
|
||||
stages {
|
||||
stage("Build"){
|
||||
stage("Compile"){
|
||||
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