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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

75 views 0 11
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