Update Jenkinsfile

This commit is contained in:
Firassawan 2020-03-09 17:41:19 -04:00 committed by GitHub
parent a373d63bcf
commit e1b0511492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

34
Jenkinsfile vendored
View file

@ -1,30 +1,28 @@
pipeline {
agent any
stages {
stage('Build') {
stage('No-op') {
steps {
sh './mvnw package'
}
}
stage('Test') {
steps {
sh './mvnw package'
}
}
stage('Package') {
steps {
sh './mvnw package'
}
}
stage('Deploy') {
steps {
sh './mvnw package'
sh 'ls'
}
}
}
post {
always {
echo I will always execute this!
echo 'One way or another, I have finished'
deleteDir() /* clean up our workspace */
}
success {
echo 'I succeeeded!'
}
unstable {
echo 'I am unstable :/'
}
failure {
echo 'I failed :('
}
changed {
echo 'Things were different before...'
}
}
}