mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Update the Jenkins Files
This commit is contained in:
parent
61c088af8e
commit
30f351980b
2 changed files with 19 additions and 3 deletions
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -2,9 +2,24 @@ pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('Build') {
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
sh 'mvn clean build'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Test'){
|
||||||
|
steps {
|
||||||
|
sh 'mvn test'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('package'){
|
||||||
steps {
|
steps {
|
||||||
sh './mvnw package'
|
sh './mvnw package'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage('deploy'){
|
||||||
|
steps {
|
||||||
|
echo 'deploying'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1 +1,2 @@
|
||||||
retry
|
retry
|
||||||
|
changes
|
Loading…
Reference in a new issue