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,
boolean copy_report_file,
boolean copy_result_file) |
| Modifier and Type | Method and Description |
|---|---|
String |
builda3CmdLine(String reportFile,
String resultFile) |
String |
getAnalysis_ids()
Returns the currently set analysis ID used for the analysis run.
|
A3Builder.DescriptorImpl |
getDescriptor() |
String |
getPedantic_level() |
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
|
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 boolean isCopy_report_file()
public boolean isCopy_result_file()
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)
reportFile - Report File NameresultFile - XML Result File 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. All rights reserved.