hudson.plugins.msbuild
Class MsBuildBuilder

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by 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 Class Summary
static class MsBuildBuilder.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static MsBuildBuilder.DescriptorImpl DESCRIPTOR
          Descriptor should be singleton.
 
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.
 
Method Summary
 String getCmdLineArgs()
           
 hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
           
 MsBuildInstallation getMsBuild()
           
 String getMsBuildFile()
           
 String getMsBuildName()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
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
 

Field Detail

DESCRIPTOR

@Extension
public static final MsBuildBuilder.DescriptorImpl DESCRIPTOR
Descriptor should be singleton.

Constructor Detail

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 name
msBuildFile - The name/location of the msbuild file
cmdLineArgs - Whitespace separated list of command line arguments
Method Detail

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-2011. All Rights Reserved.