-
Bug
-
Resolution: Unresolved
-
Minor
Using this Groovy snippet below, I was expecting that there would be an "Email-Notification" that is added as part of the build promotion under Actions like this:
properties { promotions { promotion { name("Approved by Release Manager") icon("Gold Star") restrict('linuxSlave') conditions { manual("Dev Leads") { parameters{ textParam("Reason","","${PROJECT_NAME} Build Details") } } } actions { downstreamParameterized { trigger("${PROJECT_NAME}-prod-deploy") { parameters { currentBuild() predefinedProp("APPROVED_BY_USER","\${PROMOTED_USER_NAME}") predefinedProp("APPROVED_STATUS","true") } } } publishers { mailer("\${EMAIL_FAILURE_NOTIFICATION}", true, false) } } } } }
However, it actually adds it under Post-Build Actions and doesn't respect the boolean variables.
[JENKINS-34074] Email-Notification doesn't appear correctly under Actions
Workflow | Original: JNJira [ 170095 ] | New: JNJira + In-Review [ 183767 ] |
Labels | New: job-dsl |