diff options
author | Runar Borge <runar@borge.nu> | 2021-04-04 10:44:44 +0200 |
---|---|---|
committer | Runar Borge <runar@borge.nu> | 2021-04-04 10:44:44 +0200 |
commit | a3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3 (patch) | |
tree | 33a4d6b267f61b7c25027e02cd2bee26f548cd52 /vars/buildPackage.groovy | |
parent | 68007b92d605d0205b013ffe1881c08649c0153a (diff) | |
download | vyos-build-a3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3.tar.gz vyos-build-a3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3.zip |
Jenkins: add cleanup for finalize stage
Diffstat (limited to 'vars/buildPackage.groovy')
-rw-r--r-- | vars/buildPackage.groovy | 5 |
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() + } + } } } } |