From: DANIEL STOICA Date: Tue, 19 May 2020 09:05:39 +0000 (+0300) Subject: validation:Fix jobs cleanup issue with permissions X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=d2cc9862bbdda64d0801dbcc8dad48fb1790bb74;p=ci-management.git validation:Fix jobs cleanup issue with permissions Change the owner for the kube directory, because might be owned by root, causing permission issues when Jenkins tries to perform the workspace cleanup Signed-off-by: DANIEL STOICA Change-Id: I6fedecb633ab8ce78b03a9d8b9bec8ce9926bfcb --- diff --git a/jjb/shell/run_bluval.sh b/jjb/shell/run_bluval.sh index 4b306a8..75d20eb 100755 --- a/jjb/shell/run_bluval.sh +++ b/jjb/shell/run_bluval.sh @@ -29,7 +29,7 @@ change_res_owner() { # change owner of results created by root in container if [ -d "$results_dir" ] then - sudo chown -R "$current_user" "$results_dir" + sudo chown -R "$current_user" "$results_dir" "$k8s_config_dir" fi }