Package org.ow2.clif.jenkins
Class ClifBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.ow2.clif.jenkins.ClifBuilder
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
Clif task builder, based on CommandInterpreter, and finally on
BatchFile or Shell depending on the operating system.
- Author:
- Julien Coste, Bruno Dillenseger
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionClifBuilder(String clifName, String clifOpts, String testPlanFile, String reportDir) -
Method Summary
Modifier and TypeMethodDescriptiongetClif()Gets the Clif installation to useGets the CLIF_OPTS parameterbooleanperform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
ClifBuilder
-
-
Method Details
-
getTestPlanFile
-
getClif
Gets the Clif installation to use- Returns:
- the specific Clif installation to use, or null if no Clif installation is specified
-
getClifOpts
Gets the CLIF_OPTS parameter- Returns:
- the CLIF_OPTS parameter, or null if not set.
-
perform
public boolean perform(AbstractBuild<?, ?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer- Throws:
InterruptedExceptionIOException
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-
getReportDir
-