summaryrefslogtreecommitdiffstats
path: root/jjb/infra/bifrost-verify.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/infra/bifrost-verify.sh')
-rwxr-xr-xjjb/infra/bifrost-verify.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/infra/bifrost-verify.sh b/jjb/infra/bifrost-verify.sh
index ded4ed463..9fbb1d0d9 100755
--- a/jjb/infra/bifrost-verify.sh
+++ b/jjb/infra/bifrost-verify.sh
@@ -17,6 +17,9 @@ function fix_ownership() {
if [ -z "${JOB_URL+x}" ]; then
echo "Not running as part of Jenkins. Handle the logs manually."
else
+ # Make sure cache exists
+ [[ ! -d ${HOME}/.cache ]] && mkdir ${HOME}/.cache
+
sudo chown -R jenkins:jenkins $WORKSPACE
sudo chown -R jenkins:jenkins ${HOME}/.cache
fi