No delete button for E-mail Notification post-build action?

42 views
Skip to first unread message

John Dexter

unread,
May 23, 2013, 7:42:51 AM5/23/13
to jenkins...@googlegroups.com
I have a simple test job with a build-step to run a Windows batch file and two post-build steps to publish xUnit test results and send emails on failure.

The email post-build step does not have a delete button but the other two steps both do, and I want to disable/remove the emailing since it's annoying to get all those emails while deliberately breaking tests.

Is this a bug or am I missing something? I can take a screenshot if you want to double-check, but not sure if this mailing list allows attachments?

John.

k.thi...@comcast.net

unread,
May 23, 2013, 8:26:16 AM5/23/13
to jenkins...@googlegroups.com
Is this the Email ext plugin?  So, in other words, the editable email notification?  Strange that there would not be a delete button there, but you should be able to go to advanced, and uncheck the box for the failure trigger.


From: "John Dexter" <jdxsol...@gmail.com>
To: jenkins...@googlegroups.com
Sent: Thursday, May 23, 2013 6:42:51 AM
Subject: No delete button for E-mail Notification post-build action?
--
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-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

John Dexter

unread,
May 23, 2013, 8:33:59 AM5/23/13
to jenkins...@googlegroups.com
Hi,

I am not aware it's a plugin, if it is it's not one I installed... it was "out of the box" functionality  "Email notification" is listed in the Post-build steps drop-down.

Inline images 1

Not only is there no delete button, there is no advanced button either, I can disable emails of unstable builds but not failed ones:
Inline images 2

(There should be images inlined in this post)

John
image.png
image.png

k.thi...@comcast.net

unread,
May 23, 2013, 8:52:01 AM5/23/13
to jenkins...@googlegroups.com

Yeah that is different than the ext plugin so there would be no Advanced button.  The delete button should be all the way to the right...not aware of any bugs about this.  If it is absolutely not there, maybe try a different browser to access Jenkins?

 

Otherwise, you should be able to go into the folder for the job on your server, edit the config.xml and take the mailer task section out of the job:

 

  <hudson.tasks.Mailer plugin="mailer@1.4">
      <recipients>some...@email.com</recipients>
      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
      <sendToIndividuals>false</sendToIndividuals>
    </hudson.tasks.Mailer>

This section is under the "publishers" section.  Then I believe you have to go to "Manage Jenkins" and "Reload Configuration from Disk"

image.png
image.png

Slide

unread,
May 23, 2013, 11:25:26 AM5/23/13
to jenkins...@googlegroups.com
Can you check the Jenkins logs and see if there is an exception? Sometimes when something is wrong in the rendering, the delete button fails to render after the error.
image.png
image.png
Reply all
Reply to author
Forward
0 new messages