mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25: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
|
checkout scm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Build') {
|
stage('compile') {
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw clean'
|
sh './mvnw clean'
|
||||||
sh './mvnw compile'
|
sh './mvnw compile'
|
||||||
|
@ -41,6 +41,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
success {
|
success {
|
||||||
|
sh 'java -jar target/*.jar'
|
||||||
archiveArtifacts 'target/*.jar'
|
archiveArtifacts 'target/*.jar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue