File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ kubectl exec -it "$exec_pod_name" -n atlassian -- docker run --shm-size=4g -v "/
67
67
sleep 10
68
68
69
69
echo " INFO: Copy results folder from the exec env pod to local"
70
- kubectl exec -n atlassian " $exec_pod_name " -- tar cf - /dc-app-performance-toolkit/app/ results | tar xf - -C /data-center-terraform/dc-app-performance-toolkit/app/results
70
+ kubectl exec -n atlassian " $exec_pod_name " -- tar cf - -C /dc-app-performance-toolkit/app results | tar xf - -C /data-center-terraform/dc-app-performance-toolkit/app/results --strip-components=1
71
71
if [[ $? -ne 0 ]]; then
72
72
echo " ERROR: Copy results folder failed"
73
73
exit 1
Original file line number Diff line number Diff line change 30
30
echo " INFO: Execution environment pod name: $exec_pod_name "
31
31
32
32
echo " INFO: Copy results folder from the exec env pod to local"
33
- kubectl exec -n atlassian " $exec_pod_name " -- tar cf - /dc-app-performance-toolkit/app/ results | tar xf - -C /data-center-terraform/dc-app-performance-toolkit/app/results
33
+ kubectl exec -n atlassian " $exec_pod_name " -- tar cf - -C /dc-app-performance-toolkit/app results | tar xf - -C /data-center-terraform/dc-app-performance-toolkit/app/results --strip-components=1
34
34
if [[ $? -ne 0 ]]; then
35
35
echo " ERROR: Copy results folder failed"
36
36
exit 1
You can’t perform that action at this time.
0 commit comments