mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Wait a sec before snapshot
This commit is contained in:
parent
7f43aa376b
commit
73c3a78fc6
2 changed files with 108 additions and 96 deletions
|
|
@ -147,6 +147,8 @@ def build_server(app, thisbuild, vcs, build_dir, output_dir, sdk_path, force):
|
|||
print "Saving clean state of new build server"
|
||||
if subprocess.call(['vagrant', 'suspend'], cwd='builder') != 0:
|
||||
raise BuildException("Failed to suspend build server")
|
||||
print "...waiting a sec..."
|
||||
time.sleep(10)
|
||||
if subprocess.call(['VBoxManage', 'snapshot', get_builder_vm_id(), 'take', 'fdroidclean'],
|
||||
cwd='builder') != 0:
|
||||
raise BuildException("Failed to take snapshot")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue