@Symbol(value="mstest") public class MSTestPublisher extends hudson.tasks.Recorder implements Serializable, jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
MSTestPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
MSTestPublisher() |
MSTestPublisher(String testResultsFile,
boolean failOnError,
boolean keepLongStdio) |
| Modifier and Type | Method and Description |
|---|---|
MSTestPublisher.DescriptorImpl |
getDescriptor() |
boolean |
getFailOnError() |
boolean |
getKeepLongStdio() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
Collection<hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTestResultsFile() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setFailOnError(boolean failOnError) |
void |
setKeepLongStdio(boolean keepLongStdio) |
void |
setTestResultsFile(String testResultsFile) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic MSTestPublisher()
@DataBoundConstructor public MSTestPublisher(String testResultsFile, boolean failOnError, boolean keepLongStdio)
@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 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic Collection<hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
getProjectActions in interface hudson.tasks.BuildStepgetProjectActions in class hudson.tasks.BuildStepCompatibilityLayerpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic MSTestPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.RecorderCopyright © 2016–2017. All rights reserved.