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 uploaded
plugins or proxying the upstream OSS update centers, etc.
On Thursday, July 9, 2015 at 10:35:51 AM UTC-4, jje wrote:
>
> 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(MavenRepository repository,
> PrintWriter redirect) throws Exception {
>
> ConfluencePluginList cpl = nowiki?new NoConfluencePluginList():new
> ConfluencePluginList();
> cpl.initialize();
>
> int total = 0;
>
> JSONObject plugins = new JSONObject();
>
> for( PluginHistory hpi : repository.listHudsonPlugins() ) {
>
> This actually causes build to crash....
>
>
>
--
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/78367b8b-ed26-4757-bceb-331d105404d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.