Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57367

send E-mail notification on user input

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          Please use the mailing lists for questions.

          Show
          slide_o_mix Alex Earl added a comment - Please use the mailing lists for questions.

            People

            • Assignee:
              davidvanlaatum David van Laatum
              Reporter:
              sudhakar470 sudhakar reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: