From cb9536f5db5f07d21427779ddaf17c0314b01de6 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sat, 13 Aug 2022 22:18:12 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb5608b..e9fed03 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,6 +32,7 @@ synchro-et-tests: echo "Test de $file" stl log clean stl check $file | grep Err && errors=$((errors+1)) # error if err is read in standard output + stl check $file | grep "erreur de" && errors=$((errors+1)) # error if err is read in standard output done [ $errors -gt 0 ] && false for file in $files @@ -40,8 +41,6 @@ synchro-et-tests: stl log clean stl check $file -F &> /dev/null stl check $file -F &> /dev/null - stl check $file -F &> /dev/null - stl check $file -F &> /dev/null done - echo "Fin des tests." @@ -60,6 +59,8 @@ deploiement: # This job runs in the deploy stage. echo "Construction de $file" stl log clean stl wip $file | grep Err && errors=$((errors+1)) # error if err is read in standard output + stl wip $file | grep "erreur de" && errors=$((errors+1)) # error if err is read in standard output + stl wip $file | grep "Aucun fichier" && errors=$((errors+1)) # error if err is read in standard output done [ $errors -gt 0 ] && false - echo "Déploiement terminé."