fix Jenkinsfile
This commit is contained in:
parent
507080a398
commit
fc22627b89
1 changed files with 17 additions and 15 deletions
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
|
@ -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'
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue