From d35f8d53978b8d81ccd81a7c89ce1252269f356c Mon Sep 17 00:00:00 2001 From: YanxuanLiu Date: Tue, 3 Dec 2024 18:07:54 +0800 Subject: [PATCH] fail the script when error occur Signed-off-by: YanxuanLiu --- .github/workflows/mvn-verify-check/populate-daily-cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mvn-verify-check/populate-daily-cache.sh b/.github/workflows/mvn-verify-check/populate-daily-cache.sh index 11deb9b217d..9ffa0d770d1 100755 --- a/.github/workflows/mvn-verify-check/populate-daily-cache.sh +++ b/.github/workflows/mvn-verify-check/populate-daily-cache.sh @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -x -o pipefail +set -ex -o pipefail max_retry=3; delay=30; i=1 if [[ $SCALA_VER == '2.12' ]]; then