Update .gitlab-ci.yml file
This commit is contained in:
parent
9a9b850a42
commit
1187218837
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue