public class A3Builder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
A3Builder.DescriptorImpl
Descriptor for
A3Builder. |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
A3Builder(String project_file,
String analysis_ids,
String pedantic_level,
String export_a3apxworkspace,
boolean copy_report_file,
boolean copy_result_file,
boolean skip_a3_analysis) |
| Modifier and Type | Method and Description |
|---|---|
String |
builda3CmdLine(String reportFile,
String resultFile,
String apxWorkspacePath) |
String |
getAnalysis_ids()
Returns the currently set analysis ID used for the analysis run.
|
A3Builder.DescriptorImpl |
getDescriptor() |
String |
getExport_a3apxworkspace()
Returns the currently set pedantic level used for the analysis run.
|
String |
getPedantic_level()
Returns the currently set pedantic level used for the analysis run.
|
String |
getProject_file()
Returns the currently set path to the configuration file used for the analysis run.
|
boolean |
isCopy_report_file()
Checks if "Copy Report File to Jenkins Workspace" option is set
|
boolean |
isCopy_result_file()
Checks if "Copy XML Result File to Jenkins Workspace" is set
|
boolean |
isSkip_a3_analysis()
Checks if "Skip a3 analysis run" option is set
|
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
static void |
printStackTracetoLogger(hudson.model.TaskListener listener,
StackTraceElement[] trace)
Small helper routine
|
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildpublic String getProject_file()
public String getAnalysis_ids()
public String getPedantic_level()
public String getExport_a3apxworkspace()
public boolean isCopy_report_file()
public boolean isCopy_result_file()
public boolean isSkip_a3_analysis()
public static void printStackTracetoLogger(hudson.model.TaskListener listener,
StackTraceElement[] trace)
listener - TaskListener for Output in Jenkins Consoletrace - Exception Trace to output for debuggingpublic String builda3CmdLine(String reportFile, String resultFile, String apxWorkspacePath)
reportFile - Report File NameresultFile - XML Result File NameapxWorkspacePath - a3 Workspace Path Namepublic void perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
perform in interface jenkins.tasks.SimpleBuildSteppublic A3Builder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2017. All rights reserved.