public class MsBuildBuilder extends Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
MsBuildBuilder.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| Constructor and Description |
|---|
MsBuildBuilder(String msBuildName,
String msBuildFile,
String cmdLineArgs,
boolean buildVariablesAsProperties,
boolean continueOnBuildFailure,
boolean unstableIfWarnings)
Deprecated.
|
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() |
Descriptor<Builder> |
getDescriptor() |
boolean |
getDoNotUseChcpCommand() |
MsBuildInstallation |
getMsBuild() |
String |
getMsBuildFile() |
String |
getMsBuildName() |
boolean |
getUnstableIfWarnings() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
all, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, prebuild@Deprecated public MsBuildBuilder(String msBuildName, String msBuildFile, String cmdLineArgs, boolean buildVariablesAsProperties, boolean continueOnBuildFailure, boolean unstableIfWarnings)
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 warnings@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(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–2021. All rights reserved.