1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50: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 committed by Daniel Martí
parent a05c43d708
commit 0dc7974525

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)