From dbe1fd788c9c7f5393f5f98e359be19833e0235e Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Fri, 21 Jun 2024 12:00:34 +0530 Subject: [PATCH] Added retries=3 in the kubectl cp command Signed-off-by: jitendracandela --- .github/actions/run-tests/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml index a73c3d84c..4ea205814 100644 --- a/.github/actions/run-tests/action.yml +++ b/.github/actions/run-tests/action.yml @@ -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