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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.