Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements


  • Give kudos
  • My kudos


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How do I detect deployment completion?

So obviously, its easy enough to figure out when the bamboo deployment task is complete, but unfortunately that does not mean my app has fully started when that happens.

I have an app that builds on bamboo, gets deployed to a server (via scp then ssh to start the service).  Once the ssh start command completes, as far as bamboo is concerned, deployment is complete.  However, I have a test suite I want to run against it once it's deployed, and it's not yet ready if I try to run it in a deployment project triggered by the service deployment project.

What's the best way to handle this?  Should I add a task to the deployment that pings an endpoint until it gets a valid response (with a timeout), so that the deployment doesn't show as complete until it's actually up?  Should my test deployment do the pinging instead?  Is there a better solution I'm completely missing?



1 answer

1 accepted

0 votes
Answer accepted

Hello @ Clay Harris,

You mentioned correct solution - add script task to ping your deployed application to confirm it started. It will also allow you to mark deployment as failed if application can't start in given period of time

Thanks.  We were sure there had to be a better way, but this works

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...

694 views 1 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