Want more features on Pastebin? Sign Up, it's FREE!
Guest

test-jenkins-mirror.sh

By: a guest on Feb 2nd, 2011  |  syntax: None  |  size: 0.21 KB  |  views: 158  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. file=`mktemp jenkins.war.XXXXX`
  2. rm $file
  3. wget -o jenkins_wget.log --debug "http://mirrors.jenkins-ci.org/war/latest/jenkins.war" -O $file
  4. grep "^Location" jenkins_wget.log
  5. md5sum $file
  6. rm $file
  7. rm jenkins_wget.log
clone this paste RAW Paste Data