Missed Team ’24? Catch up on announcements here.

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

How to shut down bamboo cleanly?

Hugh Perkins July 19, 2013

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

0 votes
RianA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2013

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
TAGS
AUG Leaders

Atlassian Community Events