summaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2021-04-04 10:44:44 +0200
committerRunar Borge <runar@borge.nu>2021-04-04 10:44:44 +0200
commita3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3 (patch)
tree33a4d6b267f61b7c25027e02cd2bee26f548cd52 /vars
parent68007b92d605d0205b013ffe1881c08649c0153a (diff)
downloadvyos-build-a3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3.tar.gz
vyos-build-a3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3.zip
Jenkins: add cleanup for finalize stage
Diffstat (limited to 'vars')
-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()
+ }
+ }
}
}
}