Skip to content

Instantly share code, notes, and snippets.

@mythmon
Created November 26, 2012 22:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mythmon/4151152 to your computer and use it in GitHub Desktop.
Save mythmon/4151152 to your computer and use it in GitHub Desktop.
#!/bin/bash
export LEEROY_URL="https://leeroybot.herokuapp.com/"
LEEROY_RERUN="https://raw.github.com/lonnen/leeroy-rerun/master/leeroy-rerun.py"
# Usage
[[ -z $1 ]] || [[ -z $2 ]] && {
echo "Rerun a Leeroy job for a Mozilla project."
echo -e " $ $(basename $0) PROJECT PULLNUM"
exit 1
}
PROJECT=$1
PULL=$2
python2 <(curl -s $LEEROY_RERUN) "https://github.com/mozilla/${PROJECT}/pull/${PULL}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment