From 231bc61548f6eafec7c01886664f1babb431cef7 Mon Sep 17 00:00:00 2001 From: Yurely Date: Fri, 25 Oct 2024 15:41:56 -0400 Subject: [PATCH] add code error 1 --- tests/smoke/scripts/check-gitlab-ci.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/smoke/scripts/check-gitlab-ci.sh b/tests/smoke/scripts/check-gitlab-ci.sh index 85ef35e3..cecf6235 100755 --- a/tests/smoke/scripts/check-gitlab-ci.sh +++ b/tests/smoke/scripts/check-gitlab-ci.sh @@ -29,4 +29,5 @@ if [[ "$VALID" == "true" ]]; then else echo "The .gitlab-ci.yml file is invalid. Details:" echo "$RESPONSE" | jq -r '.errors[]' + exit 1 fi