How to shut down bamboo cleanly?

I want to shut down my Windows instance at the end of running a build. (background: I only have one instance license, and I also want to build on linux too, so I want to shut down the Windows instance so that the linux instance can start).

To do this, I've created a startup script that polls for a flag 'shutdown.flg', and have a 'final' script task in my stage, that creates this flag. Then the script does a 'shutdown -t 0 -f'. This kills the server too drastically, and the build fails.

What is the standard way to shut down bamboo (or a bamboo instance) cleanly?

(Platform is Windows. On linux, it seems doing a 'shutdown -h now' works ok, although a clean solution on both platforms would be preferable)

1 answer

Hi there, If you're using normal Windows installation, the standard way to shutdown Bamboo would be running StopBamboo.bat file.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

44 views 2 4
View post

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