Changes Jenkins to meet assignment requirements

This commit is contained in:
n-sheikh 2020-03-30 18:34:52 -04:00 committed by GitHub
parent 3f9f4cbe13
commit 89bb0f1514
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

9
Jenkinsfile vendored
View file

@ -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'
} }
} }