diff --git a/Jenkinsfile b/Jenkinsfile index 64ec416..30d3d2a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -34,9 +34,17 @@ pipeline { } } stage("deploy") { + input { + message "Select the environment to deploy to" + ok "Done" + parameters { + choice(name: 'ENV', choices: ['dev', 'staging', 'prod'], description: '') + } + } steps { script { gv.deployApp() + echo "Deploying to ${ENV}" } } }