This commit is contained in:
Jack-Leung 2020-03-15 21:48:31 -04:00 committed by GitHub
parent db85f23189
commit 2593ed00e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

15
Jenkinsfile vendored
View file

@ -3,22 +3,31 @@ pipeline {
try { try {
notifyBuild('STARTED') notifyBuild('STARTED')
stages {
stage('Build') { stage('Build') {
steps {
sh './mvnw package' sh './mvnw package'
} }
}
stage('Testing') { stage('Testing') {
steps {
echo 'Testing' echo 'Testing'
} }
}
stage('Package') { stage('Package') {
echo 'Staging' steps {
echo 'Packaging'
}
} }
stage('Deploy') { stage('Deploy') {
echo 'Deploy' steps {
echo 'Deploying'
}
}
} }
} catch (e) { } catch (e) {
// If there was an exception thrown, the build failed // If there was an exception thrown, the build failed
currentBuild.result = "FAILED" currentBuild.result = "FAILED"