org.jenkinsci.plugins.awsbeanstalkpublisher
Class AWSEBDeployer
java.lang.Object
org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBDeployer
public class AWSEBDeployer
- extends Object
Constructor Summary |
AWSEBDeployer(AWSEBProvider builder,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
Method Summary |
static List<com.amazonaws.services.elasticbeanstalk.model.ApplicationDescription> |
getApplications(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region)
|
static com.amazonaws.ClientConfiguration |
getClientConfig()
|
static com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk |
getElasticBeanstalk(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Region region)
|
static List<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> |
getEnvironments(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region,
String appName)
|
static com.amazonaws.services.s3.AmazonS3 |
getS3(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Region region)
|
void |
perform()
|
static String |
replaceMacros(hudson.model.AbstractBuild<?,?> build,
String inputString)
|
void |
updateEnvironments()
|
void |
updateEnvironments(com.amazonaws.services.elasticbeanstalk.model.DescribeEnvironmentsRequest request)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWSEBDeployer
public AWSEBDeployer(AWSEBProvider builder,
hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
perform
public void perform()
throws Exception
- Throws:
Exception
updateEnvironments
public void updateEnvironments()
updateEnvironments
public void updateEnvironments(com.amazonaws.services.elasticbeanstalk.model.DescribeEnvironmentsRequest request)
throws InterruptedException
- Throws:
InterruptedException
getElasticBeanstalk
public static com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk getElasticBeanstalk(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Region region)
getS3
public static com.amazonaws.services.s3.AmazonS3 getS3(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Region region)
getClientConfig
public static com.amazonaws.ClientConfiguration getClientConfig()
getApplications
public static List<com.amazonaws.services.elasticbeanstalk.model.ApplicationDescription> getApplications(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region)
getEnvironments
public static List<com.amazonaws.services.elasticbeanstalk.model.EnvironmentDescription> getEnvironments(com.amazonaws.auth.AWSCredentialsProvider credentials,
com.amazonaws.regions.Regions region,
String appName)
replaceMacros
public static String replaceMacros(hudson.model.AbstractBuild<?,?> build,
String inputString)
Copyright © 2014. All Rights Reserved.