Update .gitlab-ci.yml file
This commit is contained in:
parent
738a4e8380
commit
01332edb76
|
@ -25,11 +25,10 @@ test-job: # This job runs in the test stage.
|
||||||
script:
|
script:
|
||||||
- |+
|
- |+
|
||||||
echo Recherche de zones à tester
|
echo Recherche de zones à tester
|
||||||
|
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
||||||
if [[ ! -z "$CI_RELOAD" || "$files" =~ .*"gitlab-ci.yml".* ]]
|
if [[ ! -z "$CI_RELOAD" || "$files" =~ .*"gitlab-ci.yml".* ]]
|
||||||
then
|
then
|
||||||
files=$(find . -name "*.zone" -printf "%P ")
|
files=$(find . -name "*.zone" -printf "%P ")
|
||||||
else
|
|
||||||
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