mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:05:50 +00:00
Changes Jenkins to meet assignment requirements
This commit is contained in:
parent
3f9f4cbe13
commit
89bb0f1514
1 changed files with 3 additions and 6 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -1,13 +1,9 @@
|
||||||
pipeline{
|
pipeline{
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage("Clean"){
|
stage("Build"){
|
||||||
steps{
|
steps{
|
||||||
sh './mvnw clean'
|
sh './mvnw clean'
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Compile"){
|
|
||||||
steps{
|
|
||||||
sh './mvnw compile'
|
sh './mvnw compile'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,8 +12,9 @@ pipeline{
|
||||||
sh './mvnw test'
|
sh './mvnw test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Install"){
|
stage("Package"){
|
||||||
steps{
|
steps{
|
||||||
|
sh './mvnw package'
|
||||||
sh './mvnw install'
|
sh './mvnw install'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue