PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Want more features on Pastebin?
Sign Up
, it's FREE!
Public Pastes
Fastcraft error ca...
9 sec ago
Untitled
15 sec ago
Gift Codes
26 sec ago
Untitled
32 sec ago
Lars Leonhard
33 sec ago
Untitled
34 sec ago
Untitled
PL/SQL | 36 sec ago
Untitled
55 sec ago
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)
file=`mktemp jenkins.war.XXXXX`
rm $file
wget -o jenkins_wget.log --debug "http://mirrors.jenkins-ci.org/war/latest/jenkins.war" -O $file
grep "^Location" jenkins_wget.log
md5sum $file
rm $file
rm jenkins_wget.log
clone
this paste
RAW Paste Data
file=`mktemp jenkins.war.XXXXX` rm $file wget -o jenkins_wget.log --debug "http://mirrors.jenkins-ci.org/war/latest/jenkins.war" -O $file grep "^Location" jenkins_wget.log md5sum $file rm $file rm jenkins_wget.log