From adffec736473d43a6521c74f27522053b31de5b5 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 10 Apr 2013 09:36:31 +0100 Subject: [PATCH] Properly stop making build server base image on failure --- makebuildserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/makebuildserver.py b/makebuildserver.py index 0c23c588..09ef8ef4 100755 --- a/makebuildserver.py +++ b/makebuildserver.py @@ -29,6 +29,7 @@ with open(os.path.join(serverdir, 'up.log'), 'w') as log: log.write('==stderr==\n' + err + '\n\n') if returncode != 0: print "Failed to configure server" + sys.exit(1) print "Stopping build server VM" vagrant(['halt'], serverdir)