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
f9c6f4e9d9
commit
58b2f4c33d
1 changed files with 21 additions and 2 deletions
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
|
@ -1,11 +1,30 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh './mvnw package'
|
||||
sh 'mvn clean'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn test'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn package'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'mvn deploy'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue