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)
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue