From 5403445a9175a0c2c2933d07d23b0fa2b068363f Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Fri, 12 Aug 2022 16:05:28 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 39b3592..1573327 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ synchro-et-tests: echo "Test de $file" stl check $file | grep Err && errors=$((errors+1)) # error if err is read in standard output done - [ $err -gt 0 ] && false + [ $errors -gt 0 ] && false - echo "Fin des tests." @@ -50,6 +50,6 @@ deploiement: # This job runs in the deploy stage. echo "Construction de $file" stl wip $file | grep Err && errors=$((errors+1)) # error if err is read in standard output done - [ $err -gt 0 ] && false + [ $errors -gt 0 ] && false - stl sync - echo "Déploiement terminé." \ No newline at end of file