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

Failed promotion action marked as SUCCESS, no email notification sent

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • promoted-builds-plugin
    • None
    • Jenkins war org.jenkins-ci.main:jenkins-war: 1.594
      mailer 1.11 and 1.15
      promoted-builds 2.15 and 2.19

      Ubuntu 14.04.1, JDK 1.7, Tomcat
      java.runtime.name OpenJDK Runtime Environment
      java.version 1.7.0_75

      We configured "Email notification" in a promote. In case of a promote failure the log shows the failed action as "SUCCESS"

      >Promoting TEST-instance-promote_notification #26
      ...
      >+ exit 1
      >failed build hudson.tasks.Shell@cfa2b57 SUCCESS
      >Finished: FAILURE

      and no mail notification is sent although the overall state of the promote is FAILED.

      A successfully re-execute of the same failed promotion triggers a mail "back to normal" properly:

      >Promoting TEST-instance-promote_notification #26
      >+ exit 0
      >build hudson.tasks.Shell@35506d4e SUCCESS
      >Sending e-mails to: ...
      >build hudson.tasks.Mailer@3338373a SUCCESS
      >Finished: SUCCESS

      Jenkins war org.jenkins-ci.main:jenkins-war: 1.594
      mailer 1.11 and 1.15
      promoted-builds 2.15 and 2.19

          [JENKINS-26931] Failed promotion action marked as SUCCESS, no email notification sent

          There are no comments yet on this issue.

            Unassigned Unassigned
            h_hermanns Horst Hermanns
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: