From ad83994eabde5d63dd119f767d04ee482676f045 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 10 Oct 2022 16:31:38 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 59dc70e..e6c61e4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,8 +30,7 @@ test-job: # This job runs in the test stage. files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep zone) fi if [ -z "$files" ]; then - echo "Pas de fichier de zone à tester" - exit 1 + echo "Pas de fichier de zone à tester" && exit 1 fi - echo "Test des zones $files."