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)
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() |
MsBuildInstallation |
getMsBuild() |
String |
getMsBuildFile() |
String |
getMsBuildName() |
boolean |
getUnstableIfWarnings() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor 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 warningspublic String getMsBuildFile()
public String getMsBuildName()
public String getCmdLineArgs()
public boolean getBuildVariablesAsProperties()
public boolean getContinueOnBuildFailure()
public boolean getUnstableIfWarnings()
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 © 2004-2014. All Rights Reserved.