Package com.perforce.halm.jenkins
Class HALMTestReporter
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- com.perforce.halm.jenkins.HALMTestReporter
-
- All Implemented Interfaces:
IHALMTestReporterTask,ExtensionPoint,Describable<Publisher>,BuildStep,Serializable,SimpleBuildStep
public class HALMTestReporter extends Notifier implements SimpleBuildStep, IHALMTestReporterTask, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description HALMTestReporter(String halmConnectionID, String projectID, long automationSuiteID, String testFilePattern, long testRunSetID)
-
Method Summary
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, requiresWorkspace
-
-
-
-
Method Detail
-
getDescriptor
public BuildStepDescriptor getDescriptor()
- Specified by:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classNotifier
-
perform
public void perform(@NotNull @NotNull Run<?,?> run, @NotNull @NotNull FilePath workspace, @NotNull @NotNull EnvVars env, @NotNull @NotNull Launcher launcher, @NotNull @NotNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
perform
public void perform(@NotNull @NotNull Run<?,?> run, @NotNull @NotNull EnvVars env, @NotNull @NotNull TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
getHalmConnectionID
public String getHalmConnectionID()
- Specified by:
getHalmConnectionIDin interfaceIHALMTestReporterTask
-
setHalmConnectionID
@DataBoundSetter public final void setHalmConnectionID(String halmConnectionID)
-
getProjectID
public String getProjectID()
- Specified by:
getProjectIDin interfaceIHALMTestReporterTask
-
setProjectID
@DataBoundSetter public final void setProjectID(String projectID)
-
setAutomationSuite
@DataBoundSetter public final void setAutomationSuite(String automationSuite)
-
getAutomationSuite
public String getAutomationSuite()
- Specified by:
getAutomationSuitein interfaceIHALMTestReporterTask
-
getAutomationSuiteID
public long getAutomationSuiteID()
- Specified by:
getAutomationSuiteIDin interfaceIHALMTestReporterTask
-
setAutomationSuiteID
@DataBoundSetter public final void setAutomationSuiteID(long automationSuiteID)
-
getTestFilePattern
public String getTestFilePattern()
- Specified by:
getTestFilePatternin interfaceIHALMTestReporterTask
-
setTestFilePattern
@DataBoundSetter public final void setTestFilePattern(String testFilePattern)
-
getTestRunSet
public String getTestRunSet()
- Specified by:
getTestRunSetin interfaceIHALMTestReporterTask
-
setTestRunSet
@DataBoundSetter public final void setTestRunSet(String testRunSet)
-
getTestRunSetID
public long getTestRunSetID()
- Specified by:
getTestRunSetIDin interfaceIHALMTestReporterTask
-
setTestRunSetID
@DataBoundSetter public final void setTestRunSetID(long testRunSetID)
-
getTestFileFormat
public String getTestFileFormat()
- Specified by:
getTestFileFormatin interfaceIHALMTestReporterTask
-
setTestFileFormat
@DataBoundSetter public final void setTestFileFormat(String testFileFormat)
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceIHALMTestReporterTask
-
setDescription
@DataBoundSetter public final void setDescription(String description)
-
getBranch
public String getBranch()
- Specified by:
getBranchin interfaceIHALMTestReporterTask
-
setBranch
@DataBoundSetter public final void setBranch(String branch)
-
getShowOptionalSettings
public boolean getShowOptionalSettings()
- Specified by:
getShowOptionalSettingsin interfaceIHALMTestReporterTask
-
-