This commit is contained in:
Jack-Leung 2020-03-16 00:32:32 -04:00 committed by GitHub
parent 3b37c58dfb
commit 32bee7d881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
Jenkinsfile vendored
View file

@ -1,25 +1,12 @@
pipeline {
agent any
stages {
script {
try {
notifySlack('STARTED')
stage('Prepare code') {
echo 'do checkout stuff'
}
stage('Testing') {
echo 'Testing'
echo 'Testing - publish coverage results'
}
stage('Staging') {
echo 'Deploy Stage'
}
stage('Deploy') {
echo 'Deploy - Backend'
echo 'Deploy - Frontend'
stage('Build') {
echo 'build'
}
} catch (e) {
@ -32,6 +19,7 @@ pipeline {
}
}
}
}
def notifySlack(String buildStatus = 'STARTED') {
// build status of null means successful