public class SASUnitPlugInBuilder
extends hudson.tasks.Builder
Modifier and Type | Class and Description |
---|---|
static class |
SASUnitPlugInBuilder.DescriptorImpl
Descriptor for
SASUnitPlugInBuilder . |
Modifier and Type | Field and Description |
---|---|
static SASUnitPlugInBuilder.DescriptorImpl |
DESCRIPTOR
Descriptor should be singleton.
|
Constructor and Description |
---|
SASUnitPlugInBuilder(String sasunitBatch,
String doxygenBatch,
String sasunitVersion,
boolean createDoxygenDocu)
Constructor using fields
|
Modifier and Type | Method and Description |
---|---|
boolean |
execCmdJob(String[] cmd,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
hudson.FilePath rootFolder)
Method to execute commands in a linux shell or windows cmd window.
|
hudson.model.Descriptor<hudson.tasks.Builder> |
getDescriptor() |
String |
getDoxygenBatch() |
SASUnitInstallation |
getInstallation()
Method loops over all available SASUnit installations and returns the one specified in the project setup.
|
String |
getSasunitBatch() |
String |
getSasunitVersion() |
boolean |
isCreateDoxygenDocu() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
@Extension public static final SASUnitPlugInBuilder.DescriptorImpl DESCRIPTOR
@DataBoundConstructor public SASUnitPlugInBuilder(String sasunitBatch, String doxygenBatch, String sasunitVersion, boolean createDoxygenDocu)
sasunitBatch
- Relative path to SASUnit batch file to be executeddoxygenBatch
- Relative path to Doxygen batch file to be executedsasunitVersion
- SASUnit Version used to run the testcreateDoxygenDocu
- Doxygen documentation is created if set to truepublic String getSasunitBatch()
public String getDoxygenBatch()
public String getSasunitVersion()
public boolean isCreateDoxygenDocu()
public SASUnitInstallation getInstallation()
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws IOException, InterruptedException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
IOException
InterruptedException
public boolean execCmdJob(String[] cmd, hudson.Launcher launcher, hudson.model.BuildListener listener, hudson.FilePath rootFolder)
cmd
- The String to be executed in a linux shell or windows cmd windowlauncher
- The Launcher of the Buildlistener
- The BuildListender that receives events that happen during the buildpublic hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2004-2015. All Rights Reserved.