public class ZAProxyBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
ZAProxyBuilder.ZAProxyBuilderDescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
static ZAProxyBuilder.ZAProxyBuilderDescriptorImpl |
DESCRIPTOR
Descriptor for
ZAProxyBuilder. |
| Constructor and Description |
|---|
ZAProxyBuilder(boolean startZAPFirst,
String zapProxyHost,
int zapProxyPort,
ZAProxy zaproxy) |
| Modifier and Type | Method and Description |
|---|---|
static String |
applyMacro(hudson.model.AbstractBuild build,
hudson.model.BuildListener listener,
String macro)
Replace macro with environment variable if it exists
|
ZAProxyBuilder.ZAProxyBuilderDescriptorImpl |
getDescriptor() |
boolean |
getStartZAPFirst() |
String |
getZapProxyHost() |
int |
getZapProxyPort() |
ZAProxy |
getZaproxy() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
@Extension public static final ZAProxyBuilder.ZAProxyBuilderDescriptorImpl DESCRIPTOR
ZAProxyBuilder. Used as a singleton.
The class is marked as public so that it can be accessed from views.
See src/main/resources/fr/novia/zaproxyplugin/ZAProxyBuilder/*.jelly for the actual HTML fragment for the configuration screen.
public boolean getStartZAPFirst()
public ZAProxy getZaproxy()
public String getZapProxyHost()
public int getZapProxyPort()
public ZAProxyBuilder.ZAProxyBuilderDescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.Builderpublic boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayerpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic static String applyMacro(hudson.model.AbstractBuild build, hudson.model.BuildListener listener, String macro) throws InterruptedException
build - listener - macro - InterruptedExceptionCopyright © 2004-2016. All Rights Reserved.