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:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in 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:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
perform
public void perform(@NotNull @NotNull Run<?,?> run, @NotNull @NotNull EnvVars env, @NotNull @NotNull TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getHalmConnectionID
public String getHalmConnectionID()
- Specified by:
getHalmConnectionID
in interfaceIHALMTestReporterTask
-
setHalmConnectionID
@DataBoundSetter public final void setHalmConnectionID(String halmConnectionID)
-
getProjectID
public String getProjectID()
- Specified by:
getProjectID
in interfaceIHALMTestReporterTask
-
setProjectID
@DataBoundSetter public final void setProjectID(String projectID)
-
setAutomationSuite
@DataBoundSetter public final void setAutomationSuite(String automationSuite)
-
getAutomationSuite
public String getAutomationSuite()
- Specified by:
getAutomationSuite
in interfaceIHALMTestReporterTask
-
getAutomationSuiteID
public long getAutomationSuiteID()
- Specified by:
getAutomationSuiteID
in interfaceIHALMTestReporterTask
-
setAutomationSuiteID
@DataBoundSetter public final void setAutomationSuiteID(long automationSuiteID)
-
getTestFilePattern
public String getTestFilePattern()
- Specified by:
getTestFilePattern
in interfaceIHALMTestReporterTask
-
setTestFilePattern
@DataBoundSetter public final void setTestFilePattern(String testFilePattern)
-
getTestRunSet
public String getTestRunSet()
- Specified by:
getTestRunSet
in interfaceIHALMTestReporterTask
-
setTestRunSet
@DataBoundSetter public final void setTestRunSet(String testRunSet)
-
getTestRunSetID
public long getTestRunSetID()
- Specified by:
getTestRunSetID
in interfaceIHALMTestReporterTask
-
setTestRunSetID
@DataBoundSetter public final void setTestRunSetID(long testRunSetID)
-
getTestFileFormat
public String getTestFileFormat()
- Specified by:
getTestFileFormat
in interfaceIHALMTestReporterTask
-
setTestFileFormat
@DataBoundSetter public final void setTestFileFormat(String testFileFormat)
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceIHALMTestReporterTask
-
setDescription
@DataBoundSetter public final void setDescription(String description)
-
getBranch
public String getBranch()
- Specified by:
getBranch
in interfaceIHALMTestReporterTask
-
setBranch
@DataBoundSetter public final void setBranch(String branch)
-
getShowOptionalSettings
public boolean getShowOptionalSettings()
- Specified by:
getShowOptionalSettings
in interfaceIHALMTestReporterTask
-
-