public class ProtecodeScPlugin
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
ProtecodeScPlugin.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
ProtecodeScPlugin(String credentialsId,
String protecodeScGroup) |
Modifier and Type | Method and Description |
---|---|
boolean |
doPerform(hudson.model.Run<?,?> run,
hudson.FilePath workspace) |
boolean |
getConvertToSummary() |
String |
getCredentialsId() |
String |
getCustomHeader() |
ProtecodeScPlugin.DescriptorImpl |
getDescriptor() |
String |
getDirectoryToScan() |
boolean |
getDontZipFiles() |
boolean |
getEndAfterSendingFiles() |
boolean |
getFailIfVulns() |
boolean |
getIncludeSubdirectories() |
String |
getPattern() |
String |
getProtecodeScanName() |
String |
getProtecodeScGroup() |
boolean |
getScanOnlyArtifacts() |
int |
getScanTimeout() |
String |
getTask() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
Object |
readResolve()
For backward compatibility.
|
void |
setConvertToSummary(boolean convertToSummary) |
void |
setCredentialsId(String credentialsId) |
void |
setCustomHeader(String customHeader) |
void |
setDirectoryToScan(String directoryToScan) |
void |
setDontZipFiles(boolean dontZipFiles) |
void |
setEndAfterSendingFiles(boolean endAfterSendingFiles) |
void |
setFailIfVulns(boolean failIfVulns) |
void |
setIncludeSubdirectories(boolean includeSubdirectories) |
void |
setPattern(String pattern) |
void |
setProtecodeScanName(String protecodeScanName) |
void |
setProtecodeScGroup(String protecodeScGroup) |
void |
setScanOnlyArtifacts(boolean onlyArtifacts) |
void |
setScanTimeout(int scanTimeout) |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
public static final String NO_ERROR
public Object readResolve()
public void perform(hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
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 boolean doPerform(hudson.model.Run<?,?> run, hudson.FilePath workspace) throws IOException, InterruptedException
IOException
InterruptedException
public ProtecodeScPlugin.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
public String getTask()
@DataBoundSetter public void setCredentialsId(String credentialsId)
@DataBoundSetter public void setProtecodeScGroup(String protecodeScGroup)
@DataBoundSetter public void setDirectoryToScan(String directoryToScan)
@DataBoundSetter public void setIncludeSubdirectories(boolean includeSubdirectories)
@DataBoundSetter public void setPattern(String pattern)
@DataBoundSetter public void setConvertToSummary(boolean convertToSummary)
@DataBoundSetter public void setFailIfVulns(boolean failIfVulns)
@DataBoundSetter public void setScanTimeout(int scanTimeout)
@DataBoundSetter public void setScanOnlyArtifacts(boolean onlyArtifacts)
@DataBoundSetter public void setCustomHeader(String customHeader)
@DataBoundSetter public void setProtecodeScanName(String protecodeScanName)
@DataBoundSetter public void setEndAfterSendingFiles(boolean endAfterSendingFiles)
@DataBoundSetter public void setDontZipFiles(boolean dontZipFiles)
@CheckForNull public boolean getConvertToSummary()
@CheckForNull public String getCredentialsId()
@CheckForNull public String getDirectoryToScan()
@CheckForNull public boolean getIncludeSubdirectories()
@CheckForNull public String getPattern()
@CheckForNull public String getProtecodeScGroup()
@CheckForNull public boolean getFailIfVulns()
@CheckForNull public int getScanTimeout()
@CheckForNull public boolean getScanOnlyArtifacts()
@CheckForNull public String getCustomHeader()
@CheckForNull public String getProtecodeScanName()
@CheckForNull public boolean getEndAfterSendingFiles()
@CheckForNull public boolean getDontZipFiles()
Copyright © 2016–2023. All rights reserved.