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 <daniel.stoica@enea.com>
Change-Id: I6fedecb633ab8ce78b03a9d8b9bec8ce9926bfcb
# change owner of results created by root in container
if [ -d "$results_dir" ]
then
# 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"