If my deployment script finds an error, how can it signal this to bamboo so that it shows an error status instead of "deployed" ?
If you exit the script with a status code of anything but '0', Bamboo will consider the script failed.
#!/bin/bash
if [ -z $1 ]; then
echo "At least 1 argument is required"
exit 1
fi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.