hudson.plugins.msbuild
Class MsBuildBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
hudson.plugins.msbuild.MsBuildBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class MsBuildBuilder
- extends hudson.tasks.Builder
- Author:
- kyle.sweeney@valtech.com
| 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 |
MsBuildBuilder(String msBuildName,
String msBuildFile,
String cmdLineArgs)
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 MsBuildBuilder.DescriptorImpl DESCRIPTOR
- Descriptor should be singleton.
MsBuildBuilder
@DataBoundConstructor
public MsBuildBuilder(String msBuildName,
String msBuildFile,
String cmdLineArgs)
- When this builder is created in the project configuration step,
the builder object will be created from the strings below.
- Parameters:
msBuildName - The Visual studio logical namemsBuildFile - The name/location of the msbuild filecmdLineArgs - Whitespace separated list of command line arguments
getCmdLineArgs
public String getCmdLineArgs()
getMsBuildFile
public String getMsBuildFile()
getMsBuildName
public String getMsBuildName()
getMsBuild
public MsBuildInstallation getMsBuild()
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-2012. All Rights Reserved.