mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +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{
|
||||
agent any
|
||||
stages {
|
||||
stage("Clean"){
|
||||
stage("Build"){
|
||||
steps{
|
||||
sh './mvnw clean'
|
||||
}
|
||||
}
|
||||
stage("Compile"){
|
||||
steps{
|
||||
sh './mvnw compile'
|
||||
}
|
||||
}
|
||||
|
@ -16,8 +12,9 @@ pipeline{
|
|||
sh './mvnw test'
|
||||
}
|
||||
}
|
||||
stage("Install"){
|
||||
stage("Package"){
|
||||
steps{
|
||||
sh './mvnw package'
|
||||
sh './mvnw install'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue