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

This issue is archived. You can view it, but you can't modify it. Learn more

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.

            Assignee:
            David van Laatum
            Reporter:
            Marc Esher
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: