Create Jenkinsfile

This commit is contained in:
Claudia Lapalme 2020-03-16 12:22:01 -04:00 committed by GitHub
parent e5c800ce39
commit 5f57d82a3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

28
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,28 @@
final boolean doNotSkip = false;
pipeline {
agent any
stages {
stage('Build') {
steps {
sh './mvnw clean'
}
}
stage('Test') {
steps {
sh './mvnw test'
}
}
stage('Package') {
steps {
sh './mvnw package'
}
}
stage('Deploy') {
when { equals expected: true, actual: doNotSkip }
steps {
sh './mvnw deploy'
}
}
}
}