public class VulnerabilityTrendRecorder
extends hudson.tasks.Recorder
Checks the number of vulnerabilities in the application against the configured threshold.
| Modifier and Type | Class and Description |
|---|---|
static class |
VulnerabilityTrendRecorder.DescriptorImpl
Descriptor for
VulnerabilityTrendRecorder. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
VulnerabilityTrendRecorder(List<ThresholdCondition> conditions,
String teamServerProfileName,
boolean overrideGlobalThresholdConditions,
int queryBy) |
| Modifier and Type | Method and Description |
|---|---|
VulnerabilityTrendRecorder.DescriptorImpl |
getDescriptor() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
protected Object |
readResolve() |
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public VulnerabilityTrendRecorder(List<ThresholdCondition> conditions, String teamServerProfileName, boolean overrideGlobalThresholdConditions, int queryBy)
protected Object readResolve()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic VulnerabilityTrendRecorder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerCopyright © 2016–2022. All rights reserved.