public class VectorCASTSetup
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
VectorCASTSetup.DescriptorImpl
Descriptor for
VectorCASTSetup. |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
VectorCASTSetup(String environmentSetupWin,
String environmentSetupUnix,
String executePreambleWin,
String executePreambleUnix,
String environmentTeardownWin,
String environmentTeardownUnix,
boolean optionUseReporting,
String optionErrorLevel,
String optionHtmlBuildDesc,
boolean optionExecutionReport,
boolean optionClean,
Long waitLoops,
Long waitTime)
Create setup step
|
| Modifier and Type | Method and Description |
|---|---|
VectorCASTSetup.DescriptorImpl |
getDescriptor() |
String |
getEnvironmentSetupUnix()
Get environment setup for unix
|
String |
getEnvironmentSetupWin()
Get environment for windows setup
|
String |
getEnvironmentTeardownUnix()
Get environment teardown for unix
|
String |
getEnvironmentTeardownWin()
Get environment teardown for windows
|
String |
getExecutePreambleUnix()
Get execute preamble for unix
|
String |
getExecutePreambleWin()
Get execute preamble for windows
|
boolean |
getOptionClean()
Get option for cleaning workspace
|
String |
getOptionErrorLevel()
Get option error level
|
boolean |
getOptionExecutionReport()
Get option for execution report
|
String |
getOptionHtmlBuildDesc()
Get option for HTML Build Description
|
boolean |
getOptionUseReporting()
Get option to use reporting
|
hudson.scm.SCM |
getSCM()
Get the SCM to use
|
boolean |
getUsingSCM()
Get using SCM
|
Long |
getWaitLoops()
Get the number of wait loops to do
|
Long |
getWaitTime()
Get the wait time for license retries
|
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Perform the build step.
|
void |
setEnvironmentSetupUnix(String environmentSetupUnix)
Set environment setup for unix
|
void |
setEnvironmentSetupWin(String environmentSetupWin)
Set environment setup for windows
|
void |
setEnvironmentTeardownUnix(String environmentTeardownUnix)
Set environment teardown for unix
|
void |
setEnvironmentTeardownWin(String environmentTeardownWin)
Set environment teardown for windows
|
void |
setExecutePreambleUnix(String executePreambleUnix)
Set execute preamble for unix
|
void |
setExecutePreambleWin(String executePreambleWin)
Set execute preamble for windows
|
void |
setOptionClean(boolean optionClean)
Set option for cleaning workspace
|
void |
setOptionErrorLevel(String optionErrorLevel)
Set option error level
|
void |
setOptionExecutionReport(boolean optionExecutionReport)
Set option for execution report
|
void |
setOptionHtmlBuildDesc(String optionHtmlBuildDesc)
Set option for HTML build description *
|
void |
setOptionUseReporting(boolean optionUseReporting)
Set option to use reporting
|
void |
setSCM(hudson.scm.SCM scm)
Set the SCM being used
|
void |
setUsingSCM(boolean usingSCM)
Set using SCM (true yes, false no)
|
void |
setWaitLoops(Long waitLoops)
Set the number of wait loops
|
void |
setWaitTime(Long waitTime)
Set the wait time for license retries
|
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public VectorCASTSetup(String environmentSetupWin, String environmentSetupUnix, String executePreambleWin, String executePreambleUnix, String environmentTeardownWin, String environmentTeardownUnix, boolean optionUseReporting, String optionErrorLevel, String optionHtmlBuildDesc, boolean optionExecutionReport, boolean optionClean, Long waitLoops, Long waitTime)
environmentSetupWin - environment setup for windowsenvironmentSetupUnix - environment setup for unixexecutePreambleWin - execute preamble for windowsexecutePreambleUnix - execute preamble for unixenvironmentTeardownWin - environment teardown for windowsenvironmentTeardownUnix - environment teardown for unixoptionUseReporting - use reportingoptionErrorLevel - error leveloptionHtmlBuildDesc - HTML Build descriptionoptionExecutionReport - execution reportoptionClean - cleanwaitLoops - wait loopswaitTime - wait timepublic Long getWaitLoops()
public void setWaitLoops(Long waitLoops)
waitLoops - number of loopspublic Long getWaitTime()
public void setWaitTime(Long waitTime)
waitTime - the wait timepublic String getEnvironmentSetupWin()
public void setEnvironmentSetupWin(String environmentSetupWin)
environmentSetupWin - environment setuppublic String getEnvironmentSetupUnix()
public void setEnvironmentSetupUnix(String environmentSetupUnix)
environmentSetupUnix - environment setuppublic String getExecutePreambleWin()
public void setExecutePreambleWin(String executePreambleWin)
executePreambleWin - execute preamblepublic String getExecutePreambleUnix()
public void setExecutePreambleUnix(String executePreambleUnix)
executePreambleUnix - execute preamblepublic String getEnvironmentTeardownWin()
public void setEnvironmentTeardownWin(String environmentTeardownWin)
environmentTeardownWin - environment teardownpublic String getEnvironmentTeardownUnix()
public void setEnvironmentTeardownUnix(String environmentTeardownUnix)
environmentTeardownUnix - environment teardownpublic boolean getOptionUseReporting()
public void setOptionUseReporting(boolean optionUseReporting)
optionUseReporting - true/falsepublic String getOptionErrorLevel()
public void setOptionErrorLevel(String optionErrorLevel)
optionErrorLevel - error levelpublic String getOptionHtmlBuildDesc()
public void setOptionHtmlBuildDesc(String optionHtmlBuildDesc)
optionHtmlBuildDesc - HTML or TEXTpublic boolean getOptionExecutionReport()
public void setOptionExecutionReport(boolean optionExecutionReport)
optionExecutionReport - true/falsepublic boolean getOptionClean()
public void setOptionClean(boolean optionClean)
optionClean - true/falsepublic boolean getUsingSCM()
public void setUsingSCM(boolean usingSCM)
usingSCM - true/falsepublic hudson.scm.SCM getSCM()
public void setSCM(hudson.scm.SCM scm)
scm - SCMpublic void perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
perform in interface jenkins.tasks.SimpleBuildStepbuild - buildworkspace - workspacelauncher - launcherlistener - listenerpublic VectorCASTSetup.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2017 Vector Software. All rights reserved.