diff --git a/Jenkinsfile b/Jenkinsfile index fdc2488..e71a2c7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,6 +15,12 @@ pipeline { def userInput try { timeout(time: 15, unit: 'SECONDS') { + // TODO: e-mail notification + // https://stackoverflow.com/questions/52093926/jenkins-pipeline-send-email-at-user-input + // https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#mail-mail + // Entweder: ${env.BUILD_URL} + // Oder: http://{{jenkins_uri}}/blue/organizations/jenkins/${env.JOB_NAME - ohne /Branch}/detail/${env.BRANCH_NAME}/${env.BUILD_ID}/pipeline/${env.BUILD_ID} + mail to: 'devel@zwackl.de' userInput = input( id: 'approve_deploy_at_prod', ok: 'Yepp, go on!',