Skip to content

Instantly share code, notes, and snippets.

@openjck
Created December 17, 2013 22:55
Show Gist options
  • Save openjck/8014163 to your computer and use it in GitHub Desktop.
Save openjck/8014163 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Adapted from: https://gist.github.com/mythmon/4151152
export LEEROY_URL="https://leeroybot.herokuapp.com/"
LEEROY_RERUN="https://raw.github.com/lonnen/leeroy-rerun/master/leeroy-rerun.py"
# Usage
[[ -z $1 ]] && {
echo "Rerun a Leeroy job for Kuma."
echo -e " $ $(basename $0) PULLNUM"
exit 1
}
PULL=$1
python2 <(curl -s $LEEROY_RERUN) "https://github.com/mozilla/kuma/pull/${PULL}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment