Skip to content
Permalink
Browse files
Bring back functions removed in JENKINS-40964 that are required for u…
…pgrade of existing config
  • Loading branch information
davidvanlaatum committed Feb 11, 2017
1 parent d136593 commit 3fc19600e39dbac9cdb2f4e9fdf19a92e8174d32
Showing with 11 additions and 1 deletion.
  1. +5 −0 src/main/java/hudson/plugins/emailext/GroovyTemplateConfig.java
  2. +6 −1 src/main/java/hudson/plugins/emailext/JellyTemplateConfig.java
@@ -40,5 +40,10 @@ public String getDisplayName() {
public Config newConfig(@Nonnull String id) {
return new GroovyTemplateConfig(id, "Groovy Email Template", "", "");
}

@Override
protected String getXmlFileName() {
return "email-ext-groovy-config-files.xml";
}
}
}
@@ -39,5 +39,10 @@ public String getDisplayName() {
public Config newConfig(@Nonnull String id) {
return new JellyTemplateConfig(id, "Jelly Email Template", "", "");
}
}

@Override
protected String getXmlFileName() {
return "email-ext-jelly-config-files.xml";
}
}
}

0 comments on commit 3fc1960

Please sign in to comment.