mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 07:15:49 +00:00
deploy
This commit is contained in:
parent
a4adc59938
commit
7f3af44c50
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,7 @@ pipeline {
|
|||
checkout scm
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
stage('compile') {
|
||||
steps {
|
||||
sh './mvnw clean'
|
||||
sh './mvnw compile'
|
||||
|
@ -41,6 +41,7 @@ pipeline {
|
|||
}
|
||||
post {
|
||||
success {
|
||||
sh 'java -jar target/*.jar'
|
||||
archiveArtifacts 'target/*.jar'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue