From cf1edd462fcd3d660f1d865c9b76fc7d475e7882 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Mon, 10 Oct 2022 16:48:49 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6043db..a605966 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -33,10 +33,11 @@ test-job: # This job runs in the test stage. files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA) echo "Pipeline exceptionnel" fi - if [ ! "$files" =~ .*"zone".* ]; then - echo "Pas de fichier de zone à tester" - else + if [ "$files" =~ .*"zone".* ] + then echo "Test des zones $files." + else + echo "Pas de fichier de zone à tester" fi deploy-job: # This job runs in the deploy stage.