fix Jenkinsfile
This commit is contained in:
parent
507080a398
commit
fc22627b89
1 changed files with 17 additions and 15 deletions
32
Jenkinsfile
vendored
32
Jenkinsfile
vendored
|
@ -1,26 +1,28 @@
|
|||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
|
||||
stage('Build') {
|
||||
steps {
|
||||
echo 'Building'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo 'Testing'
|
||||
|
||||
stage('Test') {
|
||||
steps {
|
||||
echo 'Testing'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Deploy - Staging') {
|
||||
steps {
|
||||
sh './deploy staging'
|
||||
sh './run-smoke-tests'
|
||||
stage('Deploy - Staging') {
|
||||
steps {
|
||||
sh './deploy staging'
|
||||
sh './run-smoke-tests'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Deploy - Production') {
|
||||
steps {
|
||||
sh './deploy production'
|
||||
}
|
||||
}
|
||||
stage('Deploy - Production') {
|
||||
steps {
|
||||
sh './deploy production'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue