fix Jenkinsfile

This commit is contained in:
Mario 2018-11-27 15:27:58 -08:00
parent 507080a398
commit fc22627b89

32
Jenkinsfile vendored
View file

@ -1,26 +1,28 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
echo 'Building' echo 'Building'
} }
} }
}
stage('Test') { stage('Test') {
steps { steps {
echo 'Testing' echo 'Testing'
}
} }
} stage('Deploy - Staging') {
stage('Deploy - Staging') { steps {
steps { sh './deploy staging'
sh './deploy staging' sh './run-smoke-tests'
sh './run-smoke-tests' }
} }
} stage('Deploy - Production') {
stage('Deploy - Production') { steps {
steps { sh './deploy production'
sh './deploy production' }
} }
} }
} }