Skip to content
Permalink
Browse files
Workaround for JENKINS-25940
  • Loading branch information
Alex Earl committed Dec 6, 2014
1 parent 8b77f8d commit f56bf85320cc1b2f6089b117efc70b595a115593
Showing with 8 additions and 6 deletions.
  1. +1 −1 pom.xml
  2. +7 −5 src/main/java/hudson/plugins/emailext/EmailExtTemplateActionFactory.java
@@ -17,7 +17,7 @@

<artifactId>email-ext</artifactId>
<packaging>hpi</packaging>
<version>2.39</version>
<version>2.39.1</version>
<name>Email Extension Plugin</name>
<url>http://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin</url>
<issueManagement>
@@ -24,11 +24,13 @@ public class EmailExtTemplateActionFactory extends TransientProjectActionFactory
@Override
public Collection<? extends Action> createFor(AbstractProject target) {
boolean hasEmailExt = false;
for(Object p : target.getPublishersList()) {
if(p instanceof ExtendedEmailPublisher) {
hasEmailExt = true;
break;
}
if(target.getPublishersList() != null) {
for(Object p : target.getPublishersList()) {
if(p instanceof ExtendedEmailPublisher) {
hasEmailExt = true;
break;
}
}
}

if(hasEmailExt) {

0 comments on commit f56bf85

Please sign in to comment.