Update .gitlab-ci.yml file
This commit is contained in:
parent
1a444ebded
commit
cf1edd462f
|
@ -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)
|
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
||||||
echo "Pipeline exceptionnel"
|
echo "Pipeline exceptionnel"
|
||||||
fi
|
fi
|
||||||
if [ ! "$files" =~ .*"zone".* ]; then
|
if [ "$files" =~ .*"zone".* ]
|
||||||
echo "Pas de fichier de zone à tester"
|
then
|
||||||
else
|
|
||||||
echo "Test des zones $files."
|
echo "Test des zones $files."
|
||||||
|
else
|
||||||
|
echo "Pas de fichier de zone à tester"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
deploy-job: # This job runs in the deploy stage.
|
deploy-job: # This job runs in the deploy stage.
|
||||||
|
|
Loading…
Reference in New Issue