Skip to content
Snippets Groups Projects
Commit e911ef95 authored by AUBRY JEAN-PASCAL's avatar AUBRY JEAN-PASCAL
Browse files

ci: add exit code status to test job

Refs #666
parent adaddc5e
No related branches found
No related tags found
2 merge requests!275Release v4.19.0,!263Resolve "Test E2E Error: Error in "ngHyd − calculate with linked parameters − bug nghyd#329 : unexpected ERR in results table"
Pipeline #184051 passed
......@@ -21,5 +21,15 @@ echo "**************************************************************************
# Run wdio
npm run e2equick
# Récupération du code d'erreur dans une variable
error_code=$?
if [ $error_code -eq 0 ]; then
echo "Cool man...Cadence man... Trace la glace c'est bob man !!!"
else
echo "Caramba! Encore raté! Hay un error! Error Code : $error_code"
fi
# Cleanup daemon processes
pkill ng
exit $error_code
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment