It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Configuration of Codedeploy Task

This question is in reference to Atlassian Documentation: Using the AWS CodeDeploy task

Is it possible to configure the codedeploy task? Our deployment task longer the than 900 seconds (15 seconds * 60) allocated to the task.

1 answer

0 votes

This timeout does not seem to be configurable yet: Due to Atlassian's AWS CodeDeploy task being easy to confuse with the various AWS CodeDeploy tasks offered by Utoolity's Tasks for AWS add-on for Bamboo Server (notably the AWS CodeDeploy Deployment task), a user recently asked the related question How to increase the number of attempts during AWS CodeDeploy deployment? - my colleague @Henrik Opel [Utoolity] has analyzed/summarized the apparent behavior of Atlassian's CodeDeploy task as follows:

The 60 attempts limit suggests that you are using Bamboo's built in "AWS CodeDeploy" task and not the"AWS CodeDeploy Deployment" task from our (Utoolity's) Tasks for AWS add-on. Checking the source code of the former reveals that both the 15 seconds wait interval and the 60 attempts limit are fixed constants with no apparent override option.


Accordingly, you might want to watch and vote for the following newly created issue to raise Atlassian's priority regarding this notable limitation of the built-in Bamboo CodeDeploy task:

Workaround via Tasks for AWS

As stated, you could work around this limitation by using Utoolity's AWS CodeDeploy Deployment task instead (part of Tasks for AWS), which also polls the status in 15 second intervals, but will indeed wait until the deployment succeeds (or explicitly fails with an error).

Please be aware though that Utoolity's task composition is a bit different from the Bamboo built in one, refer to How do the Tasks for AWS CodeDeploy tasks differ from the built-in Bamboo CodeDeploy task? for details.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

317 views 0 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you