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