diff --git a/Jenkinsfile_Common b/Jenkinsfile_Common index 8c4385a..6dd3254 100644 --- a/Jenkinsfile_Common +++ b/Jenkinsfile_Common @@ -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 {} +" }