Approval link

This commit is contained in:
Dominik Chilla 2020-07-12 01:36:36 +02:00
parent ad2f6768ed
commit 5322f81351

2
Jenkinsfile vendored
View File

@ -18,7 +18,7 @@ pipeline {
// 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: "${env.BUILD_URL}"
emailext to: 'devel@zwackl.de', subject: "[${env.JOB_NAME}] is waiting for your decision", body: "${env.BUILD_URL}/input/"
userInput = input(
id: 'approve_deploy_at_prod',
ok: 'Yepp, go on!',