Re: Stuck creating local jenkins update center

2015-07-23 Thread jje
I think that the following I'd giving a try as well: -->Setup your local DNS server to redirect requests to official jenkins update center to your local webserver hosting the plugin repository.(updates.jenkins-ci.org to 192.168.168.10 e.g.) Actually this is very simple by running a webserver ind

Re: Stuck creating local jenkins update center

2015-07-21 Thread jje
Last but not least: Gettin' metadata via browser(JSON Index File) is now working as expected. But it is nearly impossible to move jenkins to download plugins. Even though either machine and jenkins user has access to local repository granted, which actually has been tested by getting plugin fil

Re: Stuck creating local jenkins update center

2015-07-21 Thread jje
Pls. note that our local repo containing plugin-files and jenkins master reside in same network either. Am Dienstag, 21. Juli 2015 15:50:11 UTC+2 schrieb jje: > > Last but not least: > > Gettin' metadata via browser(JSON Index File) is now working as expected. > But it is nearly impossible to mo

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
...As I've stated: Since some of manifest files are corrupted on plug-in repository we actually cloned to access localy, i found that exception handling is to be reworked. Simply adding some exception handlers to proper place will fix this issue. Jenkins UC seems to be able to handle created JS

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
One more thing: Null-Pointers are rather ugly..Finally reason for NULL-Ptr. exception has been probably file-type which couldn't be handled(have seen some backup-files e.g.). Havn't reproduced it yet. Am Freitag, 10. Juli 2015 13:21:28 UTC+2 schrieb jje: > > SOLV

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
SOLVEDSOLVED SOLVEDSOLVED SOLVEDSOLVED SOLVEDSOLVED !!!

Re: Stuck creating local jenkins update center

2015-07-10 Thread Daniel Beck
Maybe this fits your needs better? https://github.com/yandex-qatools/juseppe Doesn't work with a Maven index I think, but as you presumably want to offer one of every plugin in a flat(ish) structure for download, you can use that as data source for the JSON. On 10.07.2015, at 10:36, jje wrote

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
given one means - plugins available on your jenkins plugin folder. Am Freitag, 10. Juli 2015 10:35:42 UTC+2 schrieb jje: > > Now I've found out, that it does not matter, which installation is > used(probably installed plugins are supposed to be available to final > jenkins installation). > B

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
Now I've found out, that it does not matter, which installation is used(probably installed plugins are supposed to be available to final jenkins installation). But only the given one will apear on your Update-Center Site on Jenkins. That means, probably using a maven repository may be a better s

Re: Stuck creating local jenkins update center

2015-07-10 Thread jje
This statement may be false, as we enter listHudsonPlugis(). Right in there we gonna crash then Am Donnerstag, 9. Juli 2015 16:35:51 UTC+2 schrieb jje: > > As I've stated, i get null pointer exception in protected JSONObject > buildPlugins() -->Main.java; > > There is no NULL Pointer check fo

Re: Stuck creating local jenkins update center

2015-07-09 Thread jje
Further I've found out, that my local jenkins installation may be corrupted. Did I get this right: Either maven-created repo with plugins or jenkins installation with plugins used is needed, isn't it? Does creation of JSON with an other jenkins installation then the final one used make a diffe

Re: Stuck creating local jenkins update center

2015-07-09 Thread jje
Hi Andy, thxbut I'm not willing to pay for it. BTW - this is not a sales event, is it? Am Donnerstag, 9. Juli 2015 18:36:28 UTC+2 schrieb Andy Pemberton: > > Totally biased, but I'd be remiss not to point out this functionality > exists in CloudBees Jenkins Enterprise: > https://www.cloudb

Re: Stuck creating local jenkins update center

2015-07-09 Thread Andy Pemberton
Totally biased, but I'd be remiss not to point out this functionality exists in CloudBees Jenkins Enterprise: https://www.cloudbees.com/products/cloudbees-jenkins-platform/enterprise-edition/features/custom-update-center-plugin It comes with a slick UI for managing either your own manually uplo

Re: Stuck creating local jenkins update center

2015-07-09 Thread jje
As I've stated, i get null pointer exception in protected JSONObject buildPlugins() -->Main.java; There is no NULL Pointer check for this statement: /** * Build JSON for the plugin list. * @param repository * @param redirect */ protected JSONObject buildPlugins(MavenR

Stuck creating local jenkins update center

2015-07-09 Thread jje
ello Folks! As my jenkins server is running in a subnet without internet access i was wondering if it's possible to configure jenkins to check for plugin updates on variable URL different from jenkins plugin centre one. As prop'ed on https://github.com/ikedam/backend-update-center2/wiki/How