jenkins/common: added trailing slash to path for cleanup
Signed-off-by: Marc Mattmueller <marc.mattmueller@netmodule.com>
This commit is contained in:
		
							parent
							
								
									331fecad75
								
							
						
					
					
						commit
						c40dcce3d5
					
				|  | @ -26,8 +26,8 @@ echo "loading common yocto build module..." | |||
| 
 | ||||
| def cleanWorkspace() { | ||||
|   println "cleaning workspace..." | ||||
|   sh "find \"${WORKSPACE}/build-common/sstate-cache\" -name \"sstate*\" -atime +3 -delete" | ||||
|   sh "find \"${env.SHARED_BUILD}/tmp/work\" -name temp -type d -exec rm -rf {} +" | ||||
|   sh "find \"${WORKSPACE}/build-common/sstate-cache/\" -name \"sstate*\" -atime +3 -delete" | ||||
|   sh "find \"${env.SHARED_BUILD}/tmp/work/\" -name temp -type d -exec rm -rf {} +" | ||||
| } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue