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,
String analysisName,
AnalysisResultConfiguration analysisResultConfiguration,
String selfSignedCertificateFingerprint) |
Modifier and Type | Method and Description |
---|---|
static CodeDxClient |
buildClient(String url,
String key,
String fingerprint) |
String |
getAnalysisName() |
AnalysisResultConfiguration |
getAnalysisResultConfiguration() |
CodeDxPublisher.DescriptorImpl |
getDescriptor() |
String |
getExcludedSourceAndBinaryFiles() |
String |
getKey() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
String |
getProjectId() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getSelfSignedCertificateFingerprint() |
String |
getSourceAndBinaryFiles() |
String |
getToolOutputFiles() |
String |
getUrl() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
@DataBoundConstructor public CodeDxPublisher(String url, String key, String projectId, String sourceAndBinaryFiles, String toolOutputFiles, String excludedSourceAndBinaryFiles, String analysisName, AnalysisResultConfiguration analysisResultConfiguration, String selfSignedCertificateFingerprint)
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 String getSelfSignedCertificateFingerprint()
public String getAnalysisName()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
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
InterruptedException
IOException
public static CodeDxClient buildClient(String url, String key, String fingerprint)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public CodeDxPublisher.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
Copyright © 2004-2017. All Rights Reserved.