summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-04 10:59:32 +0200
committerGitHub <noreply@github.com>2021-04-04 10:59:32 +0200
commit202995dd1a2790d99fec2d4ef3a590d16b5cca3d (patch)
tree33a4d6b267f61b7c25027e02cd2bee26f548cd52
parent68007b92d605d0205b013ffe1881c08649c0153a (diff)
parenta3fc5bd3b2717a08c45e78fb9c0b0aeabe206ef3 (diff)
downloadvyos-build-202995dd1a2790d99fec2d4ef3a590d16b5cca3d.tar.gz
vyos-build-202995dd1a2790d99fec2d4ef3a590d16b5cca3d.zip
Merge pull request #155 from runborg/current
Jenkins: add cleanup for finalize stage
-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()
+ }
+ }
}
}
}