public class AppScanStandardBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
AppScanStandardBuilder.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
AppScanStandardBuilder(String startingURL,
String installation)
Performs on-the-fly validation of the form field 'startingURL'.
|
Modifier and Type | Method and Description |
---|---|
String |
getAdditionalCommands() |
String |
getAuthScanPw() |
String |
getAuthScanUser() |
AppScanStandardBuilder.DescriptorImpl |
getDescriptor() |
String |
getIncludeURLS() |
String |
getInstallation() |
String |
getPathRecordedLoginSequence() |
String |
getPolicyFile() |
String |
getReportName() |
String |
getStartingURL()
To be used in config.jelly to bind fields with values,
Getter for Job Configuration to persist values onto fields.
|
boolean |
isAuthScan() |
boolean |
isAuthScanRadio() |
boolean |
isGenerateReport() |
boolean |
isHtmlReport() |
boolean |
isPdfReport() |
boolean |
isVerbose() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
This method is called when the build is executed and is responsible for triggering AppScanCMD.
|
void |
setAdditionalCommands(String additionalCommands) |
void |
setAuthScan(boolean authScan) |
void |
setAuthScanPw(String authScanPw) |
void |
setAuthScanRadio(boolean authScanRadio) |
void |
setAuthScanUser(String authScanUser) |
void |
setGenerateReport(boolean generateReport) |
void |
setIncludeURLS(String includeURLS) |
void |
setPathRecordedLoginSequence(String pathRecordedLoginSequence) |
void |
setPdfReport(boolean pdfReport) |
void |
setPolicyFile(String policyFile) |
void |
setReportName(String reportName) |
void |
setVerbose(boolean verbose) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public AppScanStandardBuilder(String startingURL, String installation)
startingURL
- Starting URL for AppScan to spider on.installation
- AppScan Standard installation directory path.public void perform(hudson.model.Run<?,?> build, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
InterruptedException
IOException
public AppScanStandardBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
public String getStartingURL()
public String getInstallation()
public boolean isAuthScan()
public String getAuthScanUser()
public String getAuthScanPw()
public boolean isHtmlReport()
public boolean isPdfReport()
public boolean isGenerateReport()
public String getReportName()
public String getPathRecordedLoginSequence()
public String getPolicyFile()
public String getAdditionalCommands()
public boolean isAuthScanRadio()
public String getIncludeURLS()
public boolean isVerbose()
@DataBoundSetter public void setAuthScan(boolean authScan)
@DataBoundSetter public void setAuthScanRadio(boolean authScanRadio)
@DataBoundSetter public void setAuthScanUser(String authScanUser)
@DataBoundSetter public void setAuthScanPw(String authScanPw)
@DataBoundSetter public void setReportName(String reportName)
@DataBoundSetter public void setGenerateReport(boolean generateReport)
@DataBoundSetter public void setPdfReport(boolean pdfReport)
@DataBoundSetter public void setPathRecordedLoginSequence(String pathRecordedLoginSequence)
@DataBoundSetter public void setPolicyFile(String policyFile)
@DataBoundSetter public void setAdditionalCommands(String additionalCommands)
@DataBoundSetter public void setIncludeURLS(String includeURLS)
@DataBoundSetter public void setVerbose(boolean verbose)
Copyright © 2016–2017. All rights reserved.