public class ConsulKVBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
ConsulKVBuilder.DescriptorImpl
Descriptor for
ConsulKVBuilder . |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
ConsulKVBuilder(String hostUrl,
String key) |
ConsulKVBuilder(String aclToken,
String hostUrl,
String key,
String keyValue,
String apiUri,
String envVarKey,
RequestMode requestMode,
Integer timeoutConnection,
Integer timeoutResponse,
DebugMode debugMode,
boolean ignoreGlobalSettings)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getAclToken() |
String |
getApiUri() |
DebugMode |
getDebugMode() |
String |
getEnvVarKey() |
String |
getHostUrl() |
String |
getKey() |
String |
getKeyValue() |
RequestMode |
getRequestMode() |
int |
getTimeoutConnection() |
int |
getTimeoutResponse() |
boolean |
isIgnoreGlobalSettings() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
Perform the work of the build step
|
void |
setAclToken(String aclToken) |
void |
setApiUri(String apiUri) |
void |
setDebugMode(DebugMode debugMode) |
void |
setEnvVarKey(String envVarKey) |
void |
setIgnoreGlobalSettings(boolean ignoreGlobalSettings) |
void |
setKeyValue(String keyValue) |
void |
setRequestMode(RequestMode requestMode) |
void |
setTimeoutConnection(int timeoutConnection) |
void |
setTimeoutResponse(int timeoutResponse) |
String |
toString() |
all, getDescriptor, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@Deprecated public ConsulKVBuilder(String aclToken, String hostUrl, String key, String keyValue, String apiUri, String envVarKey, RequestMode requestMode, Integer timeoutConnection, Integer timeoutResponse, DebugMode debugMode, boolean ignoreGlobalSettings)
@DataBoundConstructor public ConsulKVBuilder(@CheckForNull String hostUrl, @CheckForNull String key)
public String getAclToken()
@DataBoundSetter public void setAclToken(@CheckForNull String aclToken)
public String getHostUrl()
public String getKey()
public String getKeyValue()
@DataBoundSetter public void setKeyValue(@CheckForNull String keyValue)
public String getApiUri()
@DataBoundSetter public void setApiUri(@CheckForNull String apiUri)
public String getEnvVarKey()
@DataBoundSetter public void setEnvVarKey(@CheckForNull String envVarKey)
public RequestMode getRequestMode()
@DataBoundSetter public void setRequestMode(@CheckForNull RequestMode requestMode)
public int getTimeoutConnection()
@DataBoundSetter public void setTimeoutConnection(int timeoutConnection)
public int getTimeoutResponse()
@DataBoundSetter public void setTimeoutResponse(int timeoutResponse)
public DebugMode getDebugMode()
@DataBoundSetter public void setDebugMode(@CheckForNull DebugMode debugMode)
public boolean isIgnoreGlobalSettings()
@DataBoundSetter public void setIgnoreGlobalSettings(boolean ignoreGlobalSettings)
public void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
build
- workspace
- launcher
- listener
- InterruptedException
IOException
Copyright © 2016. All rights reserved.