Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-12 15:46:48 +00:00
parent 186e29a2bf
commit 89c37c6e67
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ synchro-et-tests:
stl check $file stl check $file
errors=$errors"\n"$(stl check $file | grep Err) # return false if error is read in standard output errors=$errors"\n"$(stl check $file | grep Err) # return false if error is read in standard output
done done
echo "Récapitulatif des erreurs"
echo -e $errors | grep Err && false echo -e $errors | grep Err && false
- echo "Fin des tests." - echo "Fin des tests."
@ -46,6 +47,7 @@ deploiement: # This job runs in the deploy stage.
stl wip $file stl wip $file
errors=$errors"\n"$(stl wip $file | grep Err) # return false if error is read in standard output errors=$errors"\n"$(stl wip $file | grep Err) # return false if error is read in standard output
done done
echo "Récapitulatif des erreurs"
echo -e $errors | grep Err && false echo -e $errors | grep Err && false
- stl sync - stl sync
- echo "Déploiement terminé." - echo "Déploiement terminé."