diff --git a/Jenkinsfile b/Jenkinsfile index 37223a2..af13666 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,11 +14,9 @@ pipeline { script { def userInput try { - timeout(time: 15, unit: 'SECONDS') { - // TODO: e-mail notification + 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 - // 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} emailext to: 'devel@zwackl.de', subject: "[${env.JOB_NAME}] is waiting for your decision", body: "${env.BUILD_URL}" userInput = input(