cosmetics
This commit is contained in:
parent
ee69a84ae3
commit
4a18a2a4e8
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -15,15 +15,14 @@ pipeline {
|
|||||||
def userInput
|
def userInput
|
||||||
try {
|
try {
|
||||||
timeout(time: 300, unit: 'SECONDS') {
|
timeout(time: 300, unit: 'SECONDS') {
|
||||||
// https://stackoverflow.com/questions/52093926/jenkins-pipeline-send-email-at-user-input
|
emailext(
|
||||||
// https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#mail-mail
|
to: 'devel@zwackl.de',
|
||||||
// Oder: http://{{jenkins_uri}}/blue/organizations/jenkins/${env.JOB_NAME - ohne /Branch}/detail/${env.BRANCH_NAME}/${env.BUILD_ID}/pipeline/${env.BUILD_ID}
|
subject: "[${env.JOB_NAME}] is waiting for your decision",
|
||||||
emailext to: 'devel@zwackl.de', subject: "[${env.JOB_NAME}] is waiting for your decision", body: "KLICK HERE: ${env.BUILD_URL}/input/"
|
body: "KLICK HERE: ${env.BUILD_URL}input/"
|
||||||
|
)
|
||||||
userInput = input(
|
userInput = input(
|
||||||
//id: 'approve_deploy_at_prod',
|
|
||||||
message: "Do you want to deploy version ${PROD_TAG}@${env.deployment_name} in PROD?",
|
message: "Do you want to deploy version ${PROD_TAG}@${env.deployment_name} in PROD?",
|
||||||
ok: 'Yepp, go on!',
|
ok: 'Yepp, go on!'/*,
|
||||||
submitter: 'dominikx'/*,
|
|
||||||
parameters: [
|
parameters: [
|
||||||
[
|
[
|
||||||
$class: 'BooleanParameterDefinition',
|
$class: 'BooleanParameterDefinition',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user