public class CodeDxPublisher
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
CodeDxPublisher.DescriptorImpl
Descriptor for
CodeDxPublisher. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
CodeDxPublisher(String url,
String key,
String projectId,
String sourceAndBinaryFiles,
String toolOutputFiles,
String excludedSourceAndBinaryFiles,
AnalysisResultConfiguration analysisResultConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
AnalysisResultConfiguration |
getAnalysisResultConfiguration() |
CodeDxPublisher.DescriptorImpl |
getDescriptor() |
String |
getExcludedSourceAndBinaryFiles() |
String |
getKey() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
String |
getProjectId() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getSourceAndBinaryFiles() |
String |
getToolOutputFiles() |
String |
getUrl() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, prebuild@DataBoundConstructor public CodeDxPublisher(String url, String key, String projectId, String sourceAndBinaryFiles, String toolOutputFiles, String excludedSourceAndBinaryFiles, AnalysisResultConfiguration analysisResultConfiguration)
url - URL of the Code Dx serverkey - API key of the Code Dx serverprojectId - Code Dx project IDsourceAndBinaryFiles - Comma separated list of source/binary file Ant GLOB patternstoolOutputFiles - List of paths to tool output filesexcludedSourceAndBinaryFiles - Comma separated list of source/binary file Ant GLOB patterns to excludeanalysisResultConfiguration - Contains the fields applicable when the user chooses to have Jenkins wait for
analysis runs to complete.public AnalysisResultConfiguration getAnalysisResultConfiguration()
public String getProjectId()
public String getUrl()
public String getKey()
public String getSourceAndBinaryFiles()
public String getToolOutputFiles()
public String getExcludedSourceAndBinaryFiles()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public CodeDxPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.RecorderCopyright © 2004-2015. All Rights Reserved.