If a freestyle job, pass a boolean param (or even a yes/no string), then use the "conditional build step plugin" to make basically a if on the param value.
HTH Le 8 févr. 2017 10:39 PM, <siva.datla...@gmail.com> a écrit : Hello all, I am new to jenkins I have a jenkins build running on a groovy script which sends out an email notification with build status. I also have another jenkins build where we don't want to use groovy syntax to send notifications so we are going with parameter where I have set a way in drop down select option if left blank it should not send any email in the other case it should send out an email can someone suggest me the type of parameter I should select and the process to follow please. ThankYou -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/jenkinsci-users/6e902640-aca2-4aca-9ee6-c9ce260b7952%40googlegroups. com <https://groups.google.com/d/msgid/jenkinsci-users/6e902640-aca2-4aca-9ee6-c9ce260b7952%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4sX3za%2BuCuwj%2B%2Bm3PvTg85eyQ_eH_u-U_wWKv5FcVRyA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.