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