Skip to content
Permalink
Browse files
Fix JENKINS-21326
Made the config file provider classes optional Extensions.
  • Loading branch information
slide committed Jan 26, 2014
1 parent fd28fc7 commit a497a3d1392e97355c9c050109fd8c1bf9172a1a
@@ -180,7 +180,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>clirr-maven-plugin</artifactId>
<version>2.6</version>
<version>2.6.1</version>
<executions>
<execution>
<goals>
@@ -14,7 +14,7 @@ public GroovyTemplateConfig(String id, String name, String comment, String conte
super(id, name, comment, content);
}

@Extension
@Extension(optional=true)
public static final class GroovyTemplateConfigProvider extends AbstractConfigProviderImpl {

public GroovyTemplateConfigProvider() {
@@ -6,15 +6,14 @@
import org.jenkinsci.lib.configprovider.model.ContentType;
import org.kohsuke.stapler.DataBoundConstructor;


public class JellyTemplateConfig extends Config {

@DataBoundConstructor
public JellyTemplateConfig(String id, String name, String comment, String content) {
super(id, name, comment, content);
}

@Extension
@Extension(optional=true)
public static final class JellyTemplateConfigProvider extends AbstractConfigProviderImpl {

public JellyTemplateConfigProvider() {
@@ -1,7 +1,5 @@
package hudson.plugins.emailext;

import com.gargoylesoftware.htmlunit.html.HtmlPage;
import com.gargoylesoftware.htmlunit.html.HtmlTextInput;
import hudson.Launcher;
import hudson.model.AbstractBuild;
import hudson.model.BuildListener;

0 comments on commit a497a3d

Please sign in to comment.