1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-08 00:10:12 +01:00

Properly stop making build server base image on failure

This commit is contained in:
Ciaran Gultnieks 2013-04-10 09:36:31 +01:00
parent ce371d8b98
commit adffec7364

View File

@ -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)