Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Admin UI for Hudson Update Site

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 executable-war
Octocat-spinner-32 webapp
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
Octocat-spinner-32 pom.xml
README.md

Hudson Plugin Central

Hudson Plugin Central is a Admin UI for Plugin update site.

Building

mvm clean install

plugin-central.war is created under webapp/target

Running

java -jar plugin-central.war --httpPort=9696 --update-site=update-site.json

Accessing

http://localhost:9696/PluginCentral3

Setup

Metadata information provided in the update-site.json are




{  
    "update-site-root" : "/opt/hudson/update-site3",
    "update-site-local-path" : "",
    "update-center-json-local-path" : "update-center.json",
    "plugins-download-local-path-root" : "downloads/plugins",
    "plugins-temp-download-local-path-root" : "tmp-plugins",
    "shiro-security-ini-local-path" : "shiro-security.ini",
    "l10n-store-path" : "l10n",
    "plugins-download-root-url" : "http://hudson-ci.org/update-center3/downloads/plugins",
    "usage-stats-store-path" : "stats",
    "usage-stats-private-key" : "{Your private key}"
}



shiro-security.ini may have the following



[users]
# user 'sysadmin' with sysadmin privilege
sysadmin = sysadmin-password, sysadmin

# user 'admin' with admin privilege
admin = admin-password, admin

# user 'hudson' as 'developer' role
hudson = developer-password, developer


[roles]
# 'sysadmin' role has all permissions, indicated by the wildcard '*'
sysadmin = *
# 'admin' role has most other permissions (update, delete, upload) plugins
admin = plugin:*

# The 'developer' role can update plugins
developer = plugin:update

Something went wrong with that request. Please try again.