-
Type:
Improvement
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: email-ext-plugin
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.