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:
Derek Straka committed 2017-02-14 15:04:34 -05:00
1 parent 27d1887a1c
commit 699f625a52
3 files changed
+17 -1

No files matched your search

Vendored
+3
View File
@@ -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()