90 likes | 242 Views
Construct Custom Jenkins Support Site with Simpleupdatesite Plugin and Googlecode. JunHo Yoon NHN http:// www.nhncorp.com. Motivation. NHN – the world 6 th largest search company More than 1000 developers More than 200 Jenkins servers and 2000 projects
E N D
Construct Custom Jenkins Support Site with SimpleupdatesitePlugin and Googlecode JunHo Yoon NHN http://www.nhncorp.com
Motivation • NHN – the world 6th largest search company • More than 1000 developers • More than 200 Jenkins servers and 2000 projects • More than 100 build engineers as well • Only 1 Jenkins dedicated engineer (me!!) • They asked me so much!! • Why some builds fail and How each plugin is configured • few engineer who understands Jenkins and build procedures completely. • Hard to deploy/update custom Jenkins plugins
What If.. • there is a plugin which shows • custom plugin update info (update-center.json) • custom plugin installation guide (more detailed) • regular announcements • “Ask a support” link to the Issue Tracker
SimpleupdatesitePlugin • Make Jenkins connect to custom support site. custom Jenkins support site DEMO
Custom Support Site • It needs • HTTPweb server for update-center contents(plugins) • http://{proj_name}.googlecode.com/svn/ • Wiki to provide more detailed plugin descriptions • http://code.google.com/p/{proj_name}/wiki/{page_name} • Built-in board with RSS support • http://code.google.com/feeds/issues/p/{proj_name} /issues/full?label=announcement • Issue Tracking System to ask a support • http://code.google.com/p/{proj_name}/issues/entry?template=… • Perfect match to googlecode • Or nforge provided by NHN
How to make custom update-center.json updateCenter.post( { "id": "simpleupdatesite", "plugins": {"covcomplplot": { "buildDate": "Oct 01, 2011", "dependencies": [], "developers": [ { "developerId": "junoyoon", "email": "junoyoon@gmail.com", "name": "JunHo Yoon" }], "excerpt": "CovComplPlot Plugin ….", "name": "covcomplplot", "pluginVersion": "1.1.2-SNAPSHOT (private-10/01/2011 04:35-nhn)", "releaseTimestamp": "2011-09-30T19:35:18.00Z", "requiredCore": “1.321", "title": "Coverage/Complexity Scatter Plot PlugIn", "url": "http://sampleupdatesite.googlecode.com/svn/updatesite//plugins/covcomplplot.hpi", "version": "1.1.2-SNAPSHOT", "wiki": "http://code.google.com/p/sampleupdatesite/wiki/CovComplPlotPlugin" }}, "updateCenterVersion": 1 } );
How to make custom update-center.json • Download simpleupdatesiterepo • http://github.com/junoyoon/simpleupdatesiterepo • Put custom plugin info in {basefolder}/plugins folder • plugin(.hpi), • release info(.info) • wiki connection url(.wiki) • Run simpleupdatesiterepo • java -jar simpleupdatesiterepo-1.0.1-jar-with-dependencies.jar -u {siteUrl} -f {basefolder} • Commit the folder into googlecode DEMO
Visit http://wiki.jenkins-ci.org/ display/JENKINS/SimpleUpdateSite+Plugin DEMO
Thank You To Our Sponsors • Coming Soon: The CloudBees Newsletter for Jenkins • Please complete the Jenkins survey to help us better serve the community • (bonus: a chance to win an Apple TV!)