Update Jenkinsfile
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -38,15 +38,15 @@ pipeline {
|
||||
message "Select the environment to deploy to"
|
||||
ok "Done"
|
||||
parameters {
|
||||
choice(name: 'ENV-ONE', choices: ['dev', 'staging', 'prod'], description: '')
|
||||
choice(name: 'ENV-TWO', choices: ['dev', 'staging', 'prod'], description: '')
|
||||
choice(name: 'ONE', choices: ['dev', 'staging', 'prod'], description: '')
|
||||
choice(name: 'TWO', choices: ['dev', 'staging', 'prod'], description: '')
|
||||
}
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
gv.deployApp()
|
||||
echo "Deploying to ${ENV-ONE}"
|
||||
echo "Deploying to ${ENV-TWO}"
|
||||
echo "Deploying to ${ONE}"
|
||||
echo "Deploying to ${TWO}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user