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)
Hi there, If you're using normal Windows installation, the standard way to shutdown Bamboo would be running StopBamboo.bat file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.