validation:Fix jobs cleanup issue with permissions 07/3407/2
authorDANIEL STOICA <daniel.stoica@enea.com>
Fri, 8 May 2020 13:10:00 +0000 (16:10 +0300)
committerDaniel Stoica <daniel.stoica@enea.com>
Fri, 8 May 2020 13:47:49 +0000 (13:47 +0000)
commit859d3549b7f56cc66289e951cec29ca31ad1b953
tree17c17eb84a2ee4abb7b0d51059dc46b78ec052a6
parent1450ca866ba191a524abe64015a67e25878b86fd
validation:Fix jobs cleanup issue with permissions

Transfer only the ~/.kube/config file for k8s tests, since the rest
of contents of the "~/.kube/" directory (e.g. http-cache) might be
owned by root, causing permission issues when Jenkins tries to
perform the workspace cleanup. Since only the config file is actually
needed for running the k8s tests, skip other files/directories in
"~/.kube/"

Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com>
Change-Id: Ic3d6823bd45069e66eb085a8c09383461f517d12
jjb/shell/run_bluval.sh