From d2cc9862bbdda64d0801dbcc8dad48fb1790bb74 Mon Sep 17 00:00:00 2001 From: DANIEL STOICA Date: Tue, 19 May 2020 12:05:39 +0300 Subject: [PATCH] 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 --- jjb/shell/run_bluval.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.16.6