public class MsBuildBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
MsBuildBuilder.DescriptorImpl |
| Constructor and Description |
|---|
MsBuildBuilder(String msBuildName,
String msBuildFile,
String cmdLineArgs,
boolean buildVariablesAsProperties,
boolean continueOnBuildFailure,
boolean unstableIfWarnings,
boolean doNotUseChcpCommand)
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 |
|---|---|
boolean |
getBuildVariablesAsProperties() |
String |
getCmdLineArgs() |
boolean |
getContinueOnBuildFailure() |
hudson.model.Descriptor<hudson.tasks.Builder> |
getDescriptor() |
boolean |
getDoNotUseChcpCommand() |
MsBuildInstallation |
getMsBuild() |
String |
getMsBuildFile() |
String |
getMsBuildName() |
boolean |
getUnstableIfWarnings() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@DataBoundConstructor public MsBuildBuilder(String msBuildName, String msBuildFile, String cmdLineArgs, boolean buildVariablesAsProperties, boolean continueOnBuildFailure, boolean unstableIfWarnings, boolean doNotUseChcpCommand)
msBuildName - The Visual Studio logical namemsBuildFile - The name/location of the MSBuild filecmdLineArgs - Whitespace separated list of command line argumentsbuildVariablesAsProperties - If true, pass build variables as properties to MSBuildcontinueOnBuildFailure - If true, job will continue dispite of MSBuild build failureunstableIfWarnings - If true, job will be unstable if there are warningsdoNotUseChcpCommand - If true, job will not use chcp command before running msbuildpublic String getMsBuildFile()
public String getMsBuildName()
public String getCmdLineArgs()
public boolean getBuildVariablesAsProperties()
public boolean getContinueOnBuildFailure()
public boolean getUnstableIfWarnings()
public boolean getDoNotUseChcpCommand()
public MsBuildInstallation getMsBuild()
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 © 2016–2017. All rights reserved.