Skip to content

Instantly share code, notes, and snippets.

@benaskins
Created January 19, 2012 05:04
Show Gist options
  • Save benaskins/1638089 to your computer and use it in GitHub Desktop.
Save benaskins/1638089 to your computer and use it in GitHub Desktop.
#!/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