super(sendToList, sendToDevs, sendToRequester, sendToCulprits,recipientList, replyTo, subject, body, attachmentsPattern, attachBuildLog, contentType);
}
@Override
public boolean trigger(AbstractBuild<?, ?> build, TaskListener listener) {
Result buildResult = build.getResult();
if (buildResult == Result.UNSTABLE) {
AbstractBuild<?, ?> prevBuild = ExtendedEmailPublisher.getPreviousBuild(build, listener);
if (prevBuild != null && (prevBuild.getResult() == Result.UNSTABLE)) {
return true;