Created
September 4, 2014 06:55
-
-
Save jollychang/a61cabf925610629571d to your computer and use it in GitHub Desktop.
This file contains 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
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