-
Improvement
-
Resolution: Not A Defect
-
Minor
-
None
Hi, i want to restrict e-mail notifications based on user input. we have parameterized jenkins job, and send E-mail notification is a boolean parameter, if it set to yes the job should send email, if false it shouldn't send e-mails.
we are using Jenkins DSL scripts and i mentioned like below.
condition {
booleanCondition('${ENV,var="SEND_NOTIFICATION_EMAILS"}')
}
but it is not working as expected. could you please let us know if there is any better way to do it.
Please use the mailing lists for questions.