Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-10-10 17:06:09 +00:00
parent 9a9b850a42
commit 1187218837
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ test-job: # This job runs in the test stage.
echo Recherche de zones à tester echo Recherche de zones à tester
if [ ! -z "$CI_RELOAD" ] if [ ! -z "$CI_RELOAD" ]
then then
files=$(find . -name "*.zone" -printf %P) files=$(find . -name "*.zone" -printf "%P ")
else else
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | tr "\n" " ") files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
fi fi
if [[ "$files" =~ .*"zone".* ]] if [[ "$files" =~ .*"zone".* ]]
then then