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,
boolean useCILicenses,
Long waitLoops,
Long waitTime,
String manageProjectName,
String jobName,
String nodeLabel,
String pclpCommand,
String pclpResultsPattern,
String squoreCommand,
String TESTinsights_URL,
String TESTinsights_project,
String TESTinsights_credentials_id,
String TESTinsights_proxy,
String TESTinsights_SCM_URL,
String TESTinsights_SCM_Tech)
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
|
String |
getJobName()
Get the job name
|
String |
getManageProjectName()
Get the Manage project file/name
|
String |
getNodeLabel()
Get the node label
|
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
|
String |
getPclpCommand()
Get pc-lint plus command
|
String |
getPclpResultsPattern()
Get pc-lint plus result pattern
|
hudson.scm.SCM |
getSCM()
Get the SCM to use
|
String |
getSquoreCommand()
Get Squore command
|
String |
getTESTinsights_credentials_id()
Get Credentials ID for TESTinsights
|
String |
getTESTinsights_project()
Get Project for TESTinsights
|
String |
getTESTinsights_proxy()
Get Proxy for TESTinsights
|
String |
getTESTinsights_SCM_Tech()
Get SCM Technology TESTinsights
|
String |
getTESTinsights_SCM_URL()
Get SCM URL for TESTinsights
|
String |
getTESTinsights_URL()
Get URL for TESTinsights
|
boolean |
getUseCILicenses()
Get option to use CI licenses
|
boolean |
getUsingPCLP()
Get using pc-lint plus command
|
boolean |
getUsingSCM()
Get using SCM
|
boolean |
getUsingSquoreCommand()
Get using getUsingPCLP command
|
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 |
setJobName(String jobName)
Set the job name
|
void |
setManageProjectName(String manageProjectName)
Set the Manage project file/name
|
void |
setNodeLabel(String nodeLabel)
Set the node label
|
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 |
setPclpCommand(String pclpCommand)
Get pc-lint plus command
|
void |
setPclpResultsPattern(String pclpResultsPattern)
Get pc-lint plus result pattern
|
void |
setSCM(hudson.scm.SCM scm)
Set the SCM being used
|
void |
setSquoreCommand(String squoreCommand)
Set Squore command
|
void |
setTESTinsights_credentials_id(String TESTinsights_credentials_id)
Set Credentials ID for TESTinsights
|
void |
setTESTinsights_project(String TESTinsights_project)
Set Project for TESTinsights
|
void |
setTESTinsights_proxy(String TESTinsights_proxy)
Set Proxy for TESTinsights
|
void |
setTESTinsights_SCM_Tech(String TESTinsights_SCM_Tech)
Set SCM Technology TESTinsights
|
void |
setTESTinsights_SCM_URL(String TESTinsights_SCM_URL)
Set SCM URL for TESTinsights
|
void |
setTESTinsights_URL(String TESTinsights_URL)
Set URL for TESTinsights
|
void |
setUseCILicenses(boolean useCILicenses)
Set option to use CI licenses
|
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
|
String |
toString() |
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, boolean useCILicenses, Long waitLoops, Long waitTime, String manageProjectName, String jobName, String nodeLabel, String pclpCommand, String pclpResultsPattern, String squoreCommand, String TESTinsights_URL, String TESTinsights_project, String TESTinsights_credentials_id, String TESTinsights_proxy, String TESTinsights_SCM_URL, String TESTinsights_SCM_Tech)
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
- cleanuseCILicenses
- use CI licenseswaitLoops
- wait loopswaitTime
- wait timemanageProjectName
- manage project namejobName
- job namenodeLabel
- node labelpclpCommand
- PC Lint Plus commandpclpResultsPattern
- PC Lint Plus result pattersquoreCommand
- Squore commandTESTinsights_URL
- URL for TESTinsightsTESTinsights_project
- Project for for TESTinsightsTESTinsights_credentials_id
- Credentials for for TESTinsightsTESTinsights_proxy
- Proxy for for TESTinsightsTESTinsights_SCM_URL
- SCM URL for for TESTinsightsTESTinsights_SCM_Tech
- SCM technology for for TESTinsightspublic 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 getUseCILicenses()
public void setUseCILicenses(boolean useCILicenses)
useCILicenses
- true to use CI licenses, false to notpublic boolean getUsingSCM()
public void setUsingSCM(boolean usingSCM)
usingSCM
- true/falsepublic hudson.scm.SCM getSCM()
public void setSCM(hudson.scm.SCM scm)
scm
- SCMpublic String getManageProjectName()
public void setManageProjectName(String manageProjectName)
manageProjectName
- Manage project namepublic String getJobName()
public void setJobName(String jobName)
jobName
- job namepublic String getNodeLabel()
public void setNodeLabel(String nodeLabel)
nodeLabel
- node labelpublic String getPclpCommand()
public void setPclpCommand(String pclpCommand)
pclpCommand
- - Pc Lint Plus Commandpublic boolean getUsingPCLP()
public String getPclpResultsPattern()
public void setPclpResultsPattern(String pclpResultsPattern)
pclpResultsPattern
- - PC Lint Result patternpublic boolean getUsingSquoreCommand()
public String getSquoreCommand()
public void setSquoreCommand(String squoreCommand)
squoreCommand
- - Squore Commandpublic String getTESTinsights_URL()
public void setTESTinsights_URL(String TESTinsights_URL)
TESTinsights_URL
- - TESTinsights URLpublic String getTESTinsights_project()
public void setTESTinsights_project(String TESTinsights_project)
TESTinsights_project
- - Project for TESTinsightspublic String getTESTinsights_proxy()
public void setTESTinsights_proxy(String TESTinsights_proxy)
TESTinsights_proxy
- TESTinsights proxypublic String getTESTinsights_credentials_id()
public void setTESTinsights_credentials_id(String TESTinsights_credentials_id)
TESTinsights_credentials_id
- - Credentials ID for TESTinsightspublic String getTESTinsights_SCM_URL()
public String getTESTinsights_SCM_Tech()
public void setTESTinsights_SCM_URL(String TESTinsights_SCM_URL)
TESTinsights_SCM_URL
- - URL for TESTinsightspublic void setTESTinsights_SCM_Tech(String TESTinsights_SCM_Tech)
TESTinsights_SCM_Tech
- - SCM Technology TESTinsights (git or svn)public void perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws IOException
perform
in interface jenkins.tasks.SimpleBuildStep
build
- buildworkspace
- workspacelauncher
- launcherlistener
- listenerIOException
- exceptionpublic VectorCASTSetup.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
Copyright © 2016–2023 Vector Informatik, GmbH. All rights reserved.