mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-03 22:20:28 +03:00 
			
		
		
		
	jenkins: try to prevent the build node from running out of disk space
This commit is contained in:
		
							parent
							
								
									195a1bbae4
								
							
						
					
					
						commit
						8ed6bb8506
					
				
					 2 changed files with 7 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -55,6 +55,11 @@ virsh -c qemu:///system undefine buildserver_default \
 | 
			
		|||
      --nvram --managed-save --remove-all-storage --snapshots-metadata || true
 | 
			
		||||
virsh -c qemu:///system undefine builder_default \
 | 
			
		||||
      --nvram --managed-save --remove-all-storage --snapshots-metadata || true
 | 
			
		||||
virsh -c qemu:///system vol-delete --pool default \
 | 
			
		||||
      /var/lib/libvirt/images/buildserver_vagrant_box_image_0.img || true
 | 
			
		||||
virsh -c qemu:///system vol-delete --pool default \
 | 
			
		||||
      /var/lib/libvirt/images/jessie64_vagrant_box_image_0.img || true
 | 
			
		||||
rm -rf "$WORKSPACE"/../*/.testfiles
 | 
			
		||||
 | 
			
		||||
cd $WORKSPACE
 | 
			
		||||
echo "debian_mirror = 'https://deb.debian.org/debian/'" > $WORKSPACE/makebuildserver.config.py
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue