
org.jvnet.hudson.plugins.groovypostbuild.GroovyScriptPath Maven / Gradle / Ivy
The newest version!
package org.jvnet.hudson.plugins.groovypostbuild;
import hudson.Extension;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
import org.kohsuke.stapler.DataBoundConstructor;
import java.io.File;
/**
* @author Nicolas De loof
*/
public class GroovyScriptPath extends AbstractDescribableImpl {
private final File path;
@DataBoundConstructor
public GroovyScriptPath(String path) {
this.path = new File(path).getAbsoluteFile();
}
public File getPath() {
return path;
}
@Extension
public static class GroovyScriptPathDescriptor extends Descriptor {
@Override
public String getDisplayName() {
return "";
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy