Created
January 19, 2012 05:04
-
-
Save benaskins/1638089 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
bundle exec rake ci:$1 | |
if [ $? -eq 0 ] | |
then | |
bundle exec rake ci:ping_campfire BUILD_TASK=$1 BUILD_STATUS=successful --trace | |
echo "Success" | |
exit 0 | |
else | |
bundle exec rake ci:ping_campfire BUILD_TASK=$1 BUILD_STATUS=failed --trace | |
echo "Failed" | |
exit 1 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment