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

2nd failure emails being sent even when build is successful with job-dsl-plugin

XMLWordPrintable

      I have just configured some jobs to send emails on "Failure - 2nd" and "Fixed".

      The behavior I'm seeing is that if the job has ever failed in the past, then the "Failure - 2nd" email gets sent on every subsequent build, even if the build is successful.

      Here's the output I see in Jenkins:

      Email was triggered for: Failure - 2nd
      Trigger Failure - Any was overridden by another trigger and will not send an email.
      Trigger Failure - Still was overridden by another trigger and will not send an email.
      Sending email for trigger: Failure - 2nd
      Sending email to: ......
      Finished: SUCCESS
      

      The expected behavior, according to the plugin doc, is that it would only be sent on successive failures. Note that this build is neither a failure, nor a successive failure.

            davidvanlaatum David van Laatum
            marcesher Marc Esher
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: