Add the ability to use and store build cache artifacts
Signed-off-by: Derek Straka <derek@asterius.io>
(cherry picked from commit 0adcc6e0bc)
This commit is contained in:
3 files changed
+17
-1
No files matched your search
Vendored
+3
@@ -24,6 +24,9 @@ for (int i = 0; i < targets.size(); i++) {
|
||||
echo "Caught: ${e}"
|
||||
throw e
|
||||
} finally {
|
||||
stage("push build cache $machine") {
|
||||
sh "./scripts/publish-build-cache.sh master"
|
||||
}
|
||||
stage("cleanup $machine") {
|
||||
sh "./scripts/cleanup-env.sh"
|
||||
deleteDir()
|
||||
|
||||
Reference in new issue
Block a user