public class MsTestBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
MsTestBuilder.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static MsTestBuilder.DescriptorImpl |
DESCRIPTOR
Descriptor should be singleton.
|
| Constructor and Description |
|---|
MsTestBuilder(String msTestName,
String testFiles,
String categories,
String resultFile,
String cmdLineArgs,
boolean noIsolation)
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() |
hudson.model.Descriptor<hudson.tasks.Builder> |
getDescriptor() |
MsTestInstallation |
getMsTest() |
String |
getMsTestName() |
boolean |
getNoIsolation() |
String |
getResultFile() |
String |
getTestFiles() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
getProjectAction, 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 noIsolation)
msTestName - The MSTest logical nametestFiles - The path of the test filescmdLineArgs - Whitespace separated list of command line argumentspublic String getCmdLineArgs()
public String getTestFiles()
public String getCategories()
public String getResultFile()
public boolean getNoIsolation()
public String getMsTestName()
public MsTestInstallation getMsTest()
public 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 hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2004-2012. All Rights Reserved.