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
58e8a1a3c5
commit
fa7654b9b3
1 changed files with 18 additions and 18 deletions
36
Jenkinsfile
vendored
36
Jenkinsfile
vendored
|
@ -1,27 +1,27 @@
|
||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw package'
|
sh './mvnw package'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
stage('Test') {
|
||||||
}
|
steps {
|
||||||
stage('Test') {
|
sh 'mvn test'
|
||||||
steps {
|
}
|
||||||
sh 'mvn test'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
stage('Package') {
|
||||||
stage('Package') {
|
steps {
|
||||||
steps {
|
sh 'mvn package'
|
||||||
sh 'mvn package'
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
stage('Deploy') {
|
||||||
stage('Deploy') {
|
steps {
|
||||||
steps {
|
sh 'mvn deploy'
|
||||||
sh 'mvn deploy'
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue