timeout 300s
This commit is contained in:
parent
2c8e37383b
commit
ad2f6768ed
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user