public class NeoBuildAction extends hudson.tasks.Builder implements jenkins.tasks.SimpleBuildStep, NeoLoadPluginOptions
This class also holds the settings chosen by the user for the plugin.
Modifier and Type | Class and Description |
---|---|
static class |
NeoBuildAction.DescriptorImpl
The type Descriptor.
|
class |
NeoBuildAction.ShellMine
The type Shell mine.
|
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Modifier and Type | Field and Description |
---|---|
static String |
PROJECT_LOCAL |
static String |
PROJECT_SHARED |
Constructor and Description |
---|
NeoBuildAction(NeoloadRunStep step) |
NeoBuildAction(String executable,
String projectType,
String reportType,
String localProjectFile,
String sharedProjectName,
String scenarioName,
String htmlReport,
String xmlReport,
String pdfReport,
String junitReport,
boolean scanAllBuilds,
boolean displayTheGUI,
String testResultName,
String testDescription,
String licenseType,
String licenseVUCount,
String licenseVUSAPCount,
String licenseDuration,
String customCommandLineOptions,
boolean publishTestResults,
ServerInfo sharedProjectServer,
NTSServerInfo licenseServer,
boolean showTrendAverageResponse,
boolean showTrendErrorRate,
List<GraphOptionsInfo> graphOptionsInfo,
int maxTrends)
This method and the annotation @DataBoundConstructor are required for jenkins 1.393 even if no params are passed in.
|
Modifier and Type | Method and Description |
---|---|
boolean |
arePasswordsSafe() |
String |
constructHTMLReportArtifactPath()
Construct html report artifact path string.
|
String |
constructXMLReportArtifactPath()
Construct xml report artifact path string.
|
String |
getCustomCommandLineOptions()
Gets custom command line options.
|
hudson.model.Descriptor<hudson.tasks.Builder> |
getDescriptor()
Gets descriptor.
|
String |
getExecutable()
Gets executable.
|
List<GraphOptionsInfo> |
getGraphOptionsInfo()
Gets graph options info.
|
String |
getHtmlReport()
Gets html report.
|
String |
getHTMLReportArtifactPath() |
String |
getJunitReport()
Gets junit report.
|
String |
getLicenseDuration()
Gets license duration.
|
ServerInfo |
getLicenseServer()
Gets license server.
|
String |
getLicenseType()
Gets license type.
|
String |
getLicenseVUCount()
Gets license vu count.
|
String |
getLicenseVUSAPCount() |
String |
getLocalProjectFile()
Gets local project file.
|
int |
getMaxTrends()
Gets max trends.
|
String |
getPdfReport() |
String |
getProjectType()
Gets project type.
|
boolean |
getPublishTestResults()
Gets publish test results.
|
String |
getReportType()
Gets report type.
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Gets required monitor service.
|
String |
getScenarioName()
Gets scenario name.
|
String |
getSharedProjectName()
Gets shared project name.
|
ServerInfo |
getSharedProjectServer()
Gets shared project server.
|
String |
getTestDescription()
Gets test description.
|
String |
getTestResultName()
Gets test result name.
|
String |
getXmlReport()
Gets xml report.
|
String |
getXMLReportArtifactPath() |
boolean |
isArchiveAndBuildTrends() |
boolean |
isDisplayTheGUI()
Is display the gui boolean.
|
String |
isLicenseType(String type)
Is license type string.
|
static boolean |
isOsWindows(hudson.Launcher launcher)
Is os windows boolean.
|
String |
isProjectType(String type)
Is project type string.
|
boolean |
isReportType(String type)
Is report type boolean.
|
boolean |
isRepportCustomPath()
Is repport custom path boolean.
|
boolean |
isScanAllBuilds()
Is scan all builds boolean.
|
boolean |
isShowTrendAverageResponse()
Is show trend average response boolean.
|
boolean |
isShowTrendErrorRate()
Is show trend error rate boolean.
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Perform boolean.
|
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath ws,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Perform boolean.
|
protected StringBuilder |
prepareCommandLine(hudson.Launcher launcher,
hudson.FilePath currentWorkspace,
boolean withoutShell)
Prepare command line string builder.
|
void |
setArchiveAndBuildTrends(boolean archiveAndBuildTrends) |
void |
setLicenseServer(NTSServerInfo licenseServer)
Sets license server.
|
void |
setSharedProjectServer(ServerInfo sharedProjectServer)
Sets shared project server.
|
String |
toString()
To string string.
|
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
public static final String PROJECT_LOCAL
public static final String PROJECT_SHARED
@DataBoundConstructor public NeoBuildAction(String executable, String projectType, String reportType, String localProjectFile, String sharedProjectName, String scenarioName, String htmlReport, String xmlReport, String pdfReport, String junitReport, boolean scanAllBuilds, boolean displayTheGUI, String testResultName, String testDescription, String licenseType, String licenseVUCount, String licenseVUSAPCount, String licenseDuration, String customCommandLineOptions, boolean publishTestResults, ServerInfo sharedProjectServer, NTSServerInfo licenseServer, boolean showTrendAverageResponse, boolean showTrendErrorRate, List<GraphOptionsInfo> graphOptionsInfo, int maxTrends)
executable
- the executableprojectType
- the project typereportType
- the report typelocalProjectFile
- the local project filesharedProjectName
- the shared project namescenarioName
- the scenario namehtmlReport
- the html reportxmlReport
- the xml reportpdfReport
- the pdf reportjunitReport
- the junit reportscanAllBuilds
- the scan all buildsdisplayTheGUI
- the display the guitestResultName
- the test result nametestDescription
- the test descriptionlicenseType
- the license typelicenseVUCount
- the license vu countlicenseDuration
- the license durationcustomCommandLineOptions
- the custom command line optionspublishTestResults
- the publish test resultssharedProjectServer
- the shared project serverlicenseServer
- the license servershowTrendAverageResponse
- the show trend average responseshowTrendErrorRate
- the show trend error rategraphOptionsInfo
- the graph options infomaxTrends
- the max trendspublic NeoBuildAction(NeoloadRunStep step)
public static boolean isOsWindows(hudson.Launcher launcher)
launcher
- the launcherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
getRequiredMonitorService
in class hudson.tasks.Builder
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
build
- the buildlauncher
- the launcherlistener
- the listenerInterruptedException
- the interrupted exceptionIOException
protected StringBuilder prepareCommandLine(hudson.Launcher launcher, hudson.FilePath currentWorkspace, boolean withoutShell)
launcher
- runs code on the slave machine.currentWorkspace
- the current workspacepublic boolean arePasswordsSafe()
public String getLicenseVUSAPCount()
public String isProjectType(String type)
type
- the typepublic boolean isReportType(String type)
type
- the typepublic boolean isRepportCustomPath()
public String isLicenseType(String type)
type
- the typepublic String getXMLReportArtifactPath()
public String constructXMLReportArtifactPath()
public String getHTMLReportArtifactPath()
public String constructHTMLReportArtifactPath()
public hudson.model.Descriptor<hudson.tasks.Builder> getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
public String getExecutable()
public String getSharedProjectName()
public String getScenarioName()
public String getHtmlReport()
public String getXmlReport()
public String getPdfReport()
public String getJunitReport()
public boolean isDisplayTheGUI()
public String getTestResultName()
public String getTestDescription()
public String getLicenseType()
public String getLicenseVUCount()
public String getLicenseDuration()
public String getCustomCommandLineOptions()
public String getLocalProjectFile()
public String getProjectType()
public String getReportType()
public boolean getPublishTestResults()
public ServerInfo getLicenseServer()
public void setLicenseServer(NTSServerInfo licenseServer)
licenseServer
- the license serverpublic ServerInfo getSharedProjectServer()
public void setSharedProjectServer(ServerInfo sharedProjectServer)
sharedProjectServer
- the shared project serverpublic boolean isScanAllBuilds()
NeoLoadPluginOptions
isScanAllBuilds
in interface NeoLoadPluginOptions
public String toString()
public boolean isShowTrendAverageResponse()
NeoLoadPluginOptions
isShowTrendAverageResponse
in interface NeoLoadPluginOptions
public boolean isShowTrendErrorRate()
NeoLoadPluginOptions
isShowTrendErrorRate
in interface NeoLoadPluginOptions
public List<GraphOptionsInfo> getGraphOptionsInfo()
NeoLoadPluginOptions
getGraphOptionsInfo
in interface NeoLoadPluginOptions
public int getMaxTrends()
NeoLoadPluginOptions
getMaxTrends
in interface NeoLoadPluginOptions
public void perform(hudson.model.Run<?,?> run, hudson.FilePath ws, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
run
- the buildws
- the wslauncher
- the launcherlistener
- the listenerInterruptedException
- the interrupted exceptionIOException
public boolean isArchiveAndBuildTrends()
public void setArchiveAndBuildTrends(boolean archiveAndBuildTrends)
Copyright © 2004-2021. All Rights Reserved.