summaryrefslogtreecommitdiff
path: root/vars/buildPackage.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'vars/buildPackage.groovy')
-rw-r--r--vars/buildPackage.groovy5
1 files changed, 5 insertions, 0 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index ba830ac3..3e7c5d50 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -183,6 +183,11 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
}
}
}
+ post {
+ cleanup {
+ deleteDir()
+ }
+ }
}
}
}