org.jenkinsci.plugins.zapper
Class ZapRunner
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.zapper.ZapRunner
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class ZapRunner
- extends hudson.tasks.Builder
The Zapper plugin helps to run OWASP ZAP as part of your automated security assessment regime in the Jenkins continuous
integration system. The plugin can use a pre-installed version of ZAP when given the path to the ZAP installation.
Alternatively, it can automatically download and build a version of ZAP to be used by your security tests.
- Author:
- Adedayo Adetoye
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| Methods inherited from class hudson.tasks.Builder |
all, getRequiredMonitorService, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTO
public static final String AUTO
- See Also:
- Constant Field Values
ZapRunner
@DataBoundConstructor
public ZapRunner(String host,
ZapInstallDescription zapInstallDescription)
getHost
public String getHost()
getZapInstallType
public String getZapInstallType()
getZapInstallDescription
public ZapInstallDescription getZapInstallDescription()
perform
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
IOException
InterruptedException
getDescriptor
public ZapRunner.ZapRunnerDescriptor getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>- Overrides:
getDescriptor in class hudson.tasks.Builder
Copyright © 2004-2014. All Rights Reserved.