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
public class ClifBuilder extends Builder
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 Classes Modifier and Type Class Description static class
ClifBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description ClifBuilder(String clifName, String clifOpts, String testPlanFile, String reportDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClifInstallation
getClif()
Gets the Clif installation to useString
getClifOpts()
Gets the CLIF_OPTS parameterClifBuilder.DescriptorImpl
getDescriptor()
String
getReportDir()
String
getTestPlanFile()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Method Detail
-
getClif
public ClifInstallation getClif()
Gets the Clif installation to use- Returns:
- the specific Clif installation to use, or null if no Clif installation is specified
-
getClifOpts
public String 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:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
getDescriptor
public ClifBuilder.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-
getReportDir
public String getReportDir()
-
-