timeout 300s
This commit is contained in:
parent
2c8e37383b
commit
ad2f6768ed
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -14,11 +14,9 @@ pipeline {
|
|||||||
script {
|
script {
|
||||||
def userInput
|
def userInput
|
||||||
try {
|
try {
|
||||||
timeout(time: 15, unit: 'SECONDS') {
|
timeout(time: 300, unit: 'SECONDS') {
|
||||||
// TODO: e-mail notification
|
|
||||||
// https://stackoverflow.com/questions/52093926/jenkins-pipeline-send-email-at-user-input
|
// https://stackoverflow.com/questions/52093926/jenkins-pipeline-send-email-at-user-input
|
||||||
// https://www.jenkins.io/doc/pipeline/steps/workflow-basic-steps/#mail-mail
|
// 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}
|
// 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}"
|
||||||
userInput = input(
|
userInput = input(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user