Update Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-06 09:10:05 +00:00
parent 650570153a
commit 1228821c74

8
Jenkinsfile vendored
View File

@@ -38,15 +38,15 @@ pipeline {
message "Select the environment to deploy to" message "Select the environment to deploy to"
ok "Done" ok "Done"
parameters { parameters {
choice(name: 'ENV-ONE', choices: ['dev', 'staging', 'prod'], description: '') choice(name: 'ONE', choices: ['dev', 'staging', 'prod'], description: '')
choice(name: 'ENV-TWO', choices: ['dev', 'staging', 'prod'], description: '') choice(name: 'TWO', choices: ['dev', 'staging', 'prod'], description: '')
} }
} }
steps { steps {
script { script {
gv.deployApp() gv.deployApp()
echo "Deploying to ${ENV-ONE}" echo "Deploying to ${ONE}"
echo "Deploying to ${ENV-TWO}" echo "Deploying to ${TWO}"
} }
} }
} }