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:
|
||||
- |+
|
||||
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".* ]]
|
||||
then
|
||||
files=$(find . -name "*.zone" -printf "%P ")
|
||||
else
|
||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
|
||||
fi
|
||||
if [[ "$files" =~ .*"zone".* ]]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue