org.jenkinsci.plugins
Class MsTestBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.MsTestBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class MsTestBuilder
- extends hudson.tasks.Builder
- Author:
- Ido Ran
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
MsTestBuilder(String msTestName,
String testFiles,
String categories,
String resultFile,
String cmdLineArgs,
boolean continueOnFail)
When this builder is created in the project configuration step,
the builder object will be created from the strings below. |
| Methods inherited from class hudson.tasks.Builder |
all, getRequiredMonitorService, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, 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 |
DESCRIPTOR
@Extension
public static final MsTestBuilder.DescriptorImpl DESCRIPTOR
- Descriptor should be singleton.
MsTestBuilder
@DataBoundConstructor
public MsTestBuilder(String msTestName,
String testFiles,
String categories,
String resultFile,
String cmdLineArgs,
boolean continueOnFail)
- When this builder is created in the project configuration step,
the builder object will be created from the strings below.
- Parameters:
msTestName - The MSTest logical nametestFiles - The path of the test filescmdLineArgs - Whitespace separated list of command line arguments
getCmdLineArgs
public String getCmdLineArgs()
getTestFiles
public String getTestFiles()
getCategories
public String getCategories()
getResultFile
public String getResultFile()
getMsTestName
public String getMsTestName()
getcontinueOnFail
public boolean getcontinueOnFail()
getMsTest
public MsTestInstallation getMsTest()
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
getDescriptor
public hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>- Overrides:
getDescriptor in class hudson.tasks.Builder
Copyright © 2004-2015. All Rights Reserved.