cosmetics

This commit is contained in:
Dominik Chilla 2020-07-12 22:46:13 +02:00
parent ee69a84ae3
commit 4a18a2a4e8

13
Jenkinsfile vendored
View File

@ -15,15 +15,14 @@ pipeline {
def userInput
try {
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
// 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: "KLICK HERE: ${env.BUILD_URL}/input/"
emailext(
to: 'devel@zwackl.de',
subject: "[${env.JOB_NAME}] is waiting for your decision",
body: "KLICK HERE: ${env.BUILD_URL}input/"
)
userInput = input(
//id: 'approve_deploy_at_prod',
message: "Do you want to deploy version ${PROD_TAG}@${env.deployment_name} in PROD?",
ok: 'Yepp, go on!',
submitter: 'dominikx'/*,
ok: 'Yepp, go on!'/*,
parameters: [
[
$class: 'BooleanParameterDefinition',