What's the point of updating Jenkins UpdateCenter on fresh installation???

18 views
Skip to first unread message

TInaTinaTian L

unread,
Dec 1, 2016, 4:51:44 PM12/1/16
to Jenkins Users
Hello,

I came across this script that updates jenkins UpdateCenter from command line: https://gist.github.com/jedi4ever/898114 
# Get the update center ourself
$ wget -O default.json http://updates.jenkins-ci.org/update-center.json
# Now push it to the update URL
curl -X POST -H "Accept: application/json" -d @default.json http://localhost:9020/updateCenter/byId/default/postBack --verbose

 They told me to use this script but I don't understand what it does. Why is there a need for updating the UpdateCenter for OFB installation???
Can someone explain this to me plz, it will save me major headaches if it turns out I don't really need this.

Thanks,
Tin

Baptiste Mathus

unread,
Dec 2, 2016, 1:08:40 AM12/2/16
to jenkins...@googlegroups.com
Because that file always changes. It's like 'apt-get update'. You want to run it to see an up-to-date list of plugins.

Cheers

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/dcc0ae35-3275-4205-b5a7-49816bcddb20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TInaTinaTian L

unread,
Dec 2, 2016, 11:10:39 AM12/2/16
to Jenkins Users, m...@batmat.net
Thank you.


On Friday, 2 December 2016 01:08:40 UTC-5, Baptiste Mathus wrote:
Because that file always changes. It's like 'apt-get update'. You want to run it to see an up-to-date list of plugins.

Cheers
Le 1 déc. 2016 10:51 PM, "TInaTinaTian L" <tina.li...@gmail.com> a écrit :
Hello,

I came across this script that updates jenkins UpdateCenter from command line: https://gist.github.com/jedi4ever/898114 
# Get the update center ourself
$ wget -O default.json http://updates.jenkins-ci.org/update-center.json
# Now push it to the update URL
curl -X POST -H "Accept: application/json" -d @default.json http://localhost:9020/updateCenter/byId/default/postBack --verbose

 They told me to use this script but I don't understand what it does. Why is there a need for updating the UpdateCenter for OFB installation???
Can someone explain this to me plz, it will save me major headaches if it turns out I don't really need this.

Thanks,
Tin

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages