Skip to content

Instantly share code, notes, and snippets.

@jollychang
Created September 4, 2014 06:55
Show Gist options
  • Save jollychang/a61cabf925610629571d to your computer and use it in GitHub Desktop.
Save jollychang/a61cabf925610629571d to your computer and use it in GitHub Desktop.
for i in $(printf '%03d\n' {500..1000})
do
url="http://qaci.intra.douban.com/job/peteris-opening-pull-request-scanner/5$i/consoleText"
if curl -s $url| grep -q "FAILURE"; then
echo $url
curl -s $url | grep "for PR"
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment