Exposing a CI_PASSED environment variable

This commit is contained in:
Fabio Manganiello 2021-09-20 00:04:24 +02:00
parent 1eed63a612
commit a0fae2f0b1

View file

@ -50,8 +50,10 @@ cleanup
if [[ $ret == 0 ]]; then if [[ $ret == 0 ]]; then
echo "Status: PASSED" echo "Status: PASSED"
export CI_PASSED=1
else else
echo "Status: FAILED" echo "Status: FAILED"
export CI_PASSED=0
fi fi
exit $ret exit $ret