public class DependencyCheckBuilder extends hudson.tasks.Builder implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
DependencyCheckBuilder.DescriptorImpl
Descriptor for
DependencyCheckBuilder. |
| Constructor and Description |
|---|
DependencyCheckBuilder(String scanpath,
String outdir,
String datadir,
String suppressionFile,
String zipExtensions,
Boolean isAutoupdateDisabled,
Boolean isVerboseLoggingEnabled,
Boolean includeHtmlReports,
Boolean skipOnScmChange,
Boolean skipOnUpstreamChange) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatadir()
Retrieves the data directory that DependencyCheck will use.
|
DependencyCheckBuilder.DescriptorImpl |
getDescriptor()
A Descriptor Implementation
|
String |
getOutdir()
Retrieves the output directory to write the report.
|
String |
getScanpath()
Retrieves the path to scan.
|
String |
getSuppressionFile()
Retrieves the suppression file that DependencyCheck will use.
|
String |
getZipExtensions()
Retrieves a comma-separated list of file extensions to treat as ZIP format.
|
boolean |
includeHtmlReports()
Retrieves whether HTML reports should be generated (in addition to the XML report) or not.
|
boolean |
isAutoupdateDisabled()
Retrieves whether auto update should be disabled or not.
|
boolean |
isVerboseLoggingEnabled()
Retrieves whether verbose logging is enabled or not.
|
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
This method is called whenever the DependencyCheck build step is executed.
|
boolean |
skipOnScmChange()
Retrieves whether execution of the builder should be skipped if triggered by an SCM change.
|
boolean |
skipOnUpstreamChange()
Retrieves whether execution of the builder should be skipped if triggered by an Upstream change.
|
getProjectAction, getProjectAction, getProjectActions, perform, prebuild@DataBoundConstructor public DependencyCheckBuilder(String scanpath, String outdir, String datadir, String suppressionFile, String zipExtensions, Boolean isAutoupdateDisabled, Boolean isVerboseLoggingEnabled, Boolean includeHtmlReports, Boolean skipOnScmChange, Boolean skipOnUpstreamChange)
public String getScanpath()
public String getOutdir()
public String getDatadir()
public String getSuppressionFile()
public String getZipExtensions()
public boolean isAutoupdateDisabled()
public boolean isVerboseLoggingEnabled()
public boolean includeHtmlReports()
public boolean skipOnScmChange()
public boolean skipOnUpstreamChange()
public 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.BuildStepCompatibilityLayerbuild - A Build objectlauncher - A Launcher objectlistener - A BuildListener objectInterruptedExceptionIOExceptionpublic DependencyCheckBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2012-2014 OWASP. All Rights Reserved.