From 5c71443a524a9405261077c4748eb9e32d210493 Mon Sep 17 00:00:00 2001 From: Dominik Chilla Date: Sun, 12 Jul 2020 01:19:35 +0200 Subject: [PATCH] mail to: --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) 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!',