Update Jenkinsfile
This commit is contained in:
1 parent
99d992ee76
commit
e5f3bc546b
1 file changed
+8
Vendored
+8
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user