public class MsTestBuilder extends Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
MsTestBuilder.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherList| Modifier and Type | Field and Description |
|---|---|
static MsTestBuilder.DescriptorImpl |
DESCRIPTOR
Descriptor should be singleton.
|
BUILDERS, PUBLISHERS| Constructor and Description |
|---|
MsTestBuilder(String msTestName,
String testFiles,
String categories,
String resultFile,
String cmdLineArgs,
boolean continueOnFail,
boolean failIfNoTests)
When this builder is created in the project configuration step,
the builder object will be created from the strings below.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCategories() |
String |
getCmdLineArgs() |
boolean |
getcontinueOnFail() |
Descriptor<Builder> |
getDescriptor() |
boolean |
getFailIfNoTests() |
MsTestInstallation |
getMsTest() |
String |
getMsTestName() |
String |
getResultFile() |
String |
getTestFiles() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
all, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, prebuild@Extension public static final MsTestBuilder.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public MsTestBuilder(String msTestName, String testFiles, String categories, String resultFile, String cmdLineArgs, boolean continueOnFail, boolean failIfNoTests)
msTestName - The MSTest logical nametestFiles - The path of the test filescmdLineArgs - Whitespace separated list of command line argumentsfailIfNoTests - public String getCmdLineArgs()
public String getTestFiles()
public String getCategories()
public String getResultFile()
public String getMsTestName()
public boolean getcontinueOnFail()
public boolean getFailIfNoTests()
public MsTestInstallation getMsTest()
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic Descriptor<Builder> getDescriptor()
getDescriptor in interface Describable<Builder>getDescriptor in class BuilderCopyright © 2016–2022. All rights reserved.