This commit is contained in:
Dominik Chilla 2020-07-12 01:19:35 +02:00
parent 6cca1bb038
commit 5c71443a52

6
Jenkinsfile vendored
View File

@ -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!',