From 650570153aa8bfbc500c2bc25f1ac287beba6a98 Mon Sep 17 00:00:00 2001 From: Nana Janashia Date: Fri, 6 Nov 2020 08:33:33 +0000 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 30d3d2a..b3439aa 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}" } } }