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" <[email protected]> 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jenkinsci-users/dcc0ae35-3275-4205-b5a7-49816bcddb20%40googlegroups. > com > <https://groups.google.com/d/msgid/jenkinsci-users/dcc0ae35-3275-4205-b5a7-49816bcddb20%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7DgkLG%2BZeu_NdBy741mPyoksGCNYZqc-bkzp%3DUxe-k6w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
