All Downloads are FREE. Search and download functionalities are using the official Maven repository.

hudson.tasks.Builder Maven / Gradle / Ivy

package hudson.tasks;

import hudson.ExtensionPoint;
import hudson.model.Action;
import hudson.model.Build;
import hudson.model.BuildListener;
import hudson.model.Describable;
import hudson.model.Project;

/**
 * {@link BuildStep}s that perform the actual build.
 *
 * 

* To register a custom {@link Builder} from a plugin, * add it to {@link BuildStep#BUILDERS}. * * @author Kohsuke Kawaguchi */ public abstract class Builder extends BuildStepCompatibilityLayer implements BuildStep, Describable, ExtensionPoint { // // these two methods need to remain to keep binary compatibility with plugins built with Hudson < 1.150 // /** * Default implementation that does nothing. */ public boolean prebuild(Build build, BuildListener listener) { return true; } /** * Default implementation that does nothing. */ public Action getProjectAction(Project project) { return null; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy