If there's a valid environment name defined and active, the plugin will call UpdateEnvironment until the API Call Passes. It tries 15 times, with a 90s interval between calls.
This hasn't been true for our deployments.
Jenkins version 1.628, plugin version: 0.0.3
This build took only 18s total.
Started 41 min ago
Took 18 sec on
The log shows:
Creating application version 0.3.7-51f0368.build-169 for application Festapi for path s3://bucket/Beanstalk/Festapi-0.3.7-51f0368.build-169.zip
Attempt 1/15
Environment found (environment id=e-####). Attempting to update environment to version label 0.3.7-51f0368.build-169
q'Apla!
Finished: SUCCESS
Finished: SUCCESS
Beanstalk doesn't line up...
2015-11-19 13:05:57 UTC-0600 INFO Environment update completed successfully.
2015-11-19 13:05:57 UTC-0600 INFO New application version was deployed to running EC2 instances.
2015-11-19 13:05:52 UTC-0600 INFO Batch 2: Completed application deployment.
2015-11-19 13:05:37 UTC-0600 INFO Batch 2: Registering instance(s) with the load balancer and waiting for them to be healthy.
2015-11-19 13:05:37 UTC-0600 INFO Command execution completed on 2 of 2 instances in environment.
2015-11-19 13:05:37 UTC-0600 INFO Batch 2: Completed application deployment command execution.
2015-11-19 13:01:19 UTC-0600 INFO Batch 2: Starting application deployment command execution.
2015-11-19 13:01:04 UTC-0600 INFO Batch 2: De-registering instance(s) from the load balancer and waiting for them to go out of service.
2015-11-19 13:01:04 UTC-0600 INFO Batch 2: Starting application deployment on instance(s) [i-113fb0a1].
2015-11-19 13:01:03 UTC-0600 INFO Batch 1: Completed application deployment.
2015-11-19 13:00:44 UTC-0600 INFO Batch 1: Registering instance(s) with the load balancer and waiting for them to be healthy.
2015-11-19 13:00:44 UTC-0600 INFO Command execution completed on 1 of 2 instances in environment.
2015-11-19 13:00:43 UTC-0600 INFO Batch 1: Completed application deployment command execution.
2015-11-19 12:56:26 UTC-0600 INFO Batch 1: Starting application deployment command execution.
2015-11-19 12:56:13 UTC-0600 INFO Batch 1: De-registering instance(s) from the load balancer and waiting for them to go out of service.
2015-11-19 12:56:12 UTC-0600 INFO Batch 1: Starting application deployment on instance(s) [i-3ecef189].
2015-11-19 12:56:10 UTC-0600 INFO Deploying new version to instance(s).
Beanstalk shows it started at 12:56 but took until 13:06, which is roughly ten minutes to deploy 0.3.7-51f0368.build-169
According to the plugin page:
If there's a valid environment name defined and active, the plugin will call UpdateEnvironment until the API Call Passes. It tries 15 times, with a 90s interval between calls.
This hasn't been true for our deployments.
Jenkins version 1.628, plugin version: 0.0.3
This build took only 18s total.
The log shows:
Beanstalk doesn't line up...
Beanstalk shows it started at 12:56 but took until 13:06, which is roughly ten minutes to deploy
0.3.7-51f0368.build-169