Added retries=3 in the kubectl cp command

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendracandela
2024-06-21 12:00:34 +05:30
parent 24cf6d1d23
commit dbe1fd788c

View File

@@ -130,7 +130,7 @@ runs:
done
echo "tests completed"
echo "downloading allure results..."
kubectl cp --v=10 $podname:/tmp/allure-results allure-results
kubectl cp --v=10 --retries=3 $podname:/tmp/allure-results allure-results
echo "waiting for pod to exit"
kubectl logs -f $podname >/dev/null 2>&1