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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,492 views 0 5
Read article

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