Package testingbot.pipeline
Class TestingBotTestPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
testingbot.pipeline.TestingBotTestPublisher
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class TestingBotTestPublisher extends Recorder implements SimpleBuildStep
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestingBotTestPublisher.DescriptorImpl
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
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
-
Constructor Summary
Constructors Constructor Description TestingBotTestPublisher()
TestingBotTestPublisher(DescribableList<hudson.tasks.junit.TestDataPublisher,Descriptor<hudson.tasks.junit.TestDataPublisher>> testDataPublishers)
-
Method Summary
Modifier and Type Method Description protected TestReporter
createReportPublisher()
BuildStepMonitor
getRequiredMonitorService()
List<hudson.tasks.junit.TestDataPublisher>
getTestDataPublishers()
boolean
perform(AbstractBuild build, Launcher launcher, BuildListener listener)
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
Created for implementing SimpleBuildStep / pipelinevoid
setTestDataPublishers(List<hudson.tasks.junit.TestDataPublisher> testDataPublishers)
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, 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, prebuild
-
Constructor Details
-
TestingBotTestPublisher
@DataBoundConstructor public TestingBotTestPublisher() -
TestingBotTestPublisher
public TestingBotTestPublisher(DescribableList<hudson.tasks.junit.TestDataPublisher,Descriptor<hudson.tasks.junit.TestDataPublisher>> testDataPublishers)
-
-
Method Details
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOExceptionCreated for implementing SimpleBuildStep / pipeline- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
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
-
createReportPublisher
-
getTestDataPublishers
-
setTestDataPublishers
-