Set status

This commit is contained in:
Tristan Darricau 2016-02-01 22:58:52 +01:00
parent cd1f4279f3
commit 8947a6f9f6

View file

@ -13,11 +13,11 @@ fi
if [ $res -eq 0 ]; then if [ $res -eq 0 ]; then
echo Send success echo Send success
$(pwd)/set-status.sh 'success' 'The Bamboo build is a success' ${step} $(dirname "$0")/set-status.sh 'success' 'The Bamboo build is a success' ${step}
elif [ $res -eq 1 ]; then elif [ $res -eq 1 ]; then
echo Send Failure echo Send Failure
$(pwd)/set-status.sh 'failure' 'The Bamboo build failed' ${step} $(dirname "$0")/set-status.sh 'failure' 'The Bamboo build failed' ${step}
else else
echo Send error echo Send error
$(pwd)/set-status.sh 'error' 'The Bamboo build is in error' ${step} $(dirname "$0")/set-status.sh 'error' 'The Bamboo build is in error' ${step}
fi fi