Trigger a build from successful deployment?

I have Bamboo builds that run integration tests against a deployed web site.  How can I trigger the builds from a successful deployment of the web site?

1 answer

Bamboo doesn't have anything out of the box..

I have ended up building a plugin that created 2 new Tasks.. 

  1. Ping Task (enter a URL), and it would ping the site every 30 seconds up to a 15 minutes looking for a REGEX.. if it found it, then it succeeds and completes that, task, if after the timeout period it hasn't found it, then it fails the task which fails the deployment as failed.. Our developers basically add a version file to there apps, so they can query( from a URL) that file and know when the updated version of the app has made to the environment and is active.
  2. Trigger Build Plan - Gives a list of Build Plans that you can select from and trigger. Behind the scenes it uses the REST API to trigger the build, and also passes a result= parameter to show where the Deployment Job succeeded, or failed.  


Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,568 views 22 17
View question

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you