Update Jenkinsfile

This commit is contained in:
Nana Janashia
2020-11-06 08:28:39 +00:00
parent 99d992ee76
commit e5f3bc546b

8
Jenkinsfile vendored
View File

@@ -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}"
}
}
}