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?p=ci-management.git;a=commitdiff_plain;h=refs%2Fchanges%2F86%2F3486%2F3 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 }