[FIX HUDSON-2580] "Email Notification" action does not work as a Promotion plugin action
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. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@14253 71c3de6d-444a-0410-be80-ed276b4c234a
Showing
想要评论请 注册 或 登录