public class MSTestPublisher extends Recorder implements Serializable, SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
MSTestPublisher.DescriptorImpl |
Publisher.DescriptorExtensionListImplSimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonBUILDERS, PUBLISHERS| Constructor and Description |
|---|
MSTestPublisher() |
| Modifier and Type | Method and Description |
|---|---|
MSTestPublisher.DescriptorImpl |
getDescriptor() |
boolean |
getFailOnError() |
boolean |
getKeepLongStdio() |
Action |
getProjectAction(AbstractProject<?,?> project) |
Collection<Action> |
getProjectActions(AbstractProject<?,?> project) |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getTestResultsFile() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> build,
FilePath workspace,
Launcher launcher,
TaskListener listener) |
void |
setFailOnError(boolean failOnError) |
void |
setKeepLongStdio(boolean keepLongStdio) |
void |
setTestResultsFile(String testResultsFile) |
all, getProjectAction, needsToRunAfterFinalized, prebuildperform, prebuild@NonNull public String getTestResultsFile()
@DataBoundSetter
public final void setTestResultsFile(@NonNull
String testResultsFile)
public boolean getFailOnError()
@DataBoundSetter public final void setFailOnError(boolean failOnError)
public boolean getKeepLongStdio()
@DataBoundSetter public final void setKeepLongStdio(boolean keepLongStdio)
public Action getProjectAction(AbstractProject<?,?> project)
getProjectAction in interface BuildStepgetProjectAction in class BuildStepCompatibilityLayer@NonNull public Collection<Action> getProjectActions(AbstractProject<?,?> project)
getProjectActions in interface BuildStepgetProjectActions in class BuildStepCompatibilityLayerpublic BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface BuildSteppublic boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic void perform(@NonNull
Run<?,?> build,
@NonNull
FilePath workspace,
@NonNull
Launcher launcher,
@NonNull
TaskListener listener)
throws InterruptedException,
IOException
perform in interface SimpleBuildStepInterruptedExceptionIOExceptionpublic MSTestPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Publisher>getDescriptor in class RecorderCopyright © 2016–2019. All rights reserved.