mail to:
This commit is contained in:
parent
6cca1bb038
commit
5c71443a52
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@ -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!',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user