Update Jenkinsfile
This commit is contained in:
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@@ -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