mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Check error state suspending clean build server
This commit is contained in:
parent
81244971ae
commit
c395e3ae68
@ -145,7 +145,8 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, sdk_path, force):
|
||||
sshs.close()
|
||||
|
||||
print "Saving clean state of new build server"
|
||||
subprocess.call(['vagrant', 'suspend'], cwd='builder')
|
||||
if subprocess.call(['vagrant', 'suspend'], cwd='builder') != 0:
|
||||
raise BuildException("Failed to suspend build server")
|
||||
if subprocess.call(['VBoxManage', 'snapshot', get_builder_vm_id(), 'take', 'fdroidclean'],
|
||||
cwd='builder') != 0:
|
||||
raise BuildException("Failed to take snapshot")
|
||||
|
Loading…
Reference in New Issue
Block a user