Bug CI normalement résolu
This commit is contained in:
parent
cab8599c2f
commit
91e5b69b21
|
@ -30,7 +30,7 @@ synchro-et-tests:
|
||||||
if [ -z "$CI_COMMIT_SHA" ]; then
|
if [ -z "$CI_COMMIT_SHA" ]; then
|
||||||
files=$(find . -name "*.stl" -printf %P)
|
files=$(find . -name "*.stl" -printf %P)
|
||||||
else
|
else
|
||||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P ")
|
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P\n")
|
||||||
fi
|
fi
|
||||||
echo -e "Test de : \n $files"
|
echo -e "Test de : \n $files"
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ deploiement: # This job runs in the deploy stage.
|
||||||
if [ -z "$CI_COMMIT_SHA" ] ; then
|
if [ -z "$CI_COMMIT_SHA" ] ; then
|
||||||
files=$(find . -name "*.stl" -printf %P)
|
files=$(find . -name "*.stl" -printf %P)
|
||||||
else
|
else
|
||||||
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P ")
|
files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | grep stl || find . -name "*.stl" -printf "%P\n")
|
||||||
fi
|
fi
|
||||||
echo -e "Test de : \n $files"
|
echo -e "Test de : \n $files"
|
||||||
- cd /home/webmaster/site-a-lec.org
|
- cd /home/webmaster/site-a-lec.org
|
||||||
|
|
Loading…
Reference in New Issue