-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Platform: All, OS: All
If you configure "E-mail Notification" as an action for a promotion it does not
actually occur when the promotion occurs.
Cause: Mailer extends Publisher extends BuildStepCompatibilityLayer without
overriding BuildStepCompatibilityLayer's version of perform(AbstractBuild...)
therefore perform() does nothing except return true.
Fix: Override the new perform signature in Mailer.
Getting this to work involved removing a whole swag of pointless generics in
MailSender which doesn't actually care about the specific type of AbstractBuild
or AbstractProject so wildcards can be used, simplifying things quite a lot.
- is blocking
-
JENKINS-2576 Promotion Plugin fails to run many different promotion actions
-
- Open
-
[JENKINS-2580] "Email Notification" action does not work as a Promotion plugin action
Link | New: This issue is blocking JENKINS-2576 [ JENKINS-2576 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Component/s | New: mailer [ 17522 ] | |
Component/s | Original: mail [ 15493 ] |
Workflow | Original: JNJira [ 132653 ] | New: JNJira + In-Review [ 201565 ] |