public class AWSCodeDeployPublisher
extends hudson.tasks.Publisher
| Modifier and Type | Class and Description |
|---|---|
static class |
AWSCodeDeployPublisher.DescriptorImpl
Descriptor for
AWSCodeDeployPublisher. |
| Modifier and Type | Field and Description |
|---|---|
static com.amazonaws.regions.Regions[] |
AVAILABLE_REGIONS |
static long |
DEFAULT_POLLING_FREQUENCY_SECONDS |
static long |
DEFAULT_TIMEOUT_SECONDS |
static String |
ROLE_SESSION_NAME |
| Constructor and Description |
|---|
AWSCodeDeployPublisher(String s3bucket,
String s3prefix,
String applicationName,
String deploymentGroupName,
String deploymentConfig,
String region,
Boolean deploymentGroupAppspec,
Boolean waitForCompletion,
Long pollingTimeoutSec,
Long pollingFreqSec,
String credentials,
String awsAccessKey,
String awsSecretKey,
String iamRoleArn,
String externalId,
String includes,
String proxyHost,
int proxyPort,
String excludes,
String subdirectory) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationName() |
String |
getApplicationNameFromEnv() |
String |
getAwsAccessKey() |
String |
getAwsSecretKey() |
String |
getCredentials() |
String |
getDeploymentConfig() |
String |
getDeploymentConfigFromEnv() |
boolean |
getDeploymentGroupAppspec() |
String |
getDeploymentGroupName() |
String |
getDeploymentGroupNameFromEnv() |
AWSCodeDeployPublisher.DescriptorImpl |
getDescriptor() |
String |
getExcludes() |
String |
getExternalId() |
String |
getIamRoleArn() |
String |
getIncludes() |
Long |
getPollingFreqSec() |
Long |
getPollingTimeoutSec() |
String |
getProxyHost() |
int |
getProxyPort() |
String |
getRegion() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getS3bucket() |
String |
getS3BucketFromEnv() |
String |
getS3prefix() |
String |
getS3PrefixFromEnv() |
String |
getSubdirectory() |
boolean |
getWaitForCompletion() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic static final long DEFAULT_TIMEOUT_SECONDS
public static final long DEFAULT_POLLING_FREQUENCY_SECONDS
public static final String ROLE_SESSION_NAME
public static final com.amazonaws.regions.Regions[] AVAILABLE_REGIONS
@DataBoundConstructor public AWSCodeDeployPublisher(String s3bucket, String s3prefix, String applicationName, String deploymentGroupName, String deploymentConfig, String region, Boolean deploymentGroupAppspec, Boolean waitForCompletion, Long pollingTimeoutSec, Long pollingFreqSec, String credentials, String awsAccessKey, String awsSecretKey, String iamRoleArn, String externalId, String includes, String proxyHost, int proxyPort, String excludes, String subdirectory)
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionpublic AWSCodeDeployPublisher.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Publisherpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public String getApplicationName()
public String getDeploymentGroupName()
public String getDeploymentConfig()
public String getS3bucket()
public String getS3prefix()
public Long getPollingTimeoutSec()
public String getIamRoleArn()
public String getAwsAccessKey()
public String getAwsSecretKey()
public Long getPollingFreqSec()
public String getExternalId()
public boolean getWaitForCompletion()
public boolean getDeploymentGroupAppspec()
public String getCredentials()
public String getIncludes()
public String getExcludes()
public String getSubdirectory()
public String getRegion()
public String getProxyHost()
public int getProxyPort()
public String getApplicationNameFromEnv()
public String getDeploymentGroupNameFromEnv()
public String getDeploymentConfigFromEnv()
public String getS3BucketFromEnv()
public String getS3PrefixFromEnv()
Copyright © 2004-2015. All Rights Reserved.