Hudson ci

1,613 views

Published on

Continuous Integration (CI) with Hudson

Published in: Technology, Art & Photos
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,613
On SlideShare
0
From Embeds
0
Number of Embeds
372
Actions
Shares
0
Downloads
56
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Hudson ci

  1. 1. Hudson CI<br />By Ravi Soni<br />
  2. 2. Hudson<br />Open-source CI server<br />Emphasis on ease of installation and use<br />“java -jar hudson.war” execution<br />Or your OS-specific package<br />Configure everything from browsers<br />Extensibility<br />230+ community-developed public plugins<br />By 230+ contributors<br />Estimated 13,000 installations<br />
  3. 3. ContinuousIntegrationPrerequisites<br />Tools needed<br />VCS server<br />Build server<br />Deployment Server <br />Automationtools<br />CI tools<br />WorkProcess<br />Commit/Updateoften (eachchange)<br />Runoften<br />Tests<br />Run test often<br />Commoncodeownership<br />
  4. 4. Hudson in Company<br />
  5. 5. Basic Feature Set<br />Hudson notices that there is a change<br />Check out the source code<br />CVS, Subversion, ClearCase, Mercurial, Accurev, Perforce, Git, StarTeam, …<br />Do builds<br />Ant, Maven, shell script, NAnt, …<br />Record and publish results<br />Close the feedback loop<br />RSS feeds<br />E-mail/IM notification<br />Tray application to notify developers<br />Tool integration<br />Findbugs, cobertura, …<br />
  6. 6. Hudson CI in Working<br />
  7. 7. Monitoring Hudson<br />Hudson<br />ContinuousIntegration Server<br />Integratesbuilding, unittests, codecoverage,analysis<br />Providestheabilitytohook in almostany output.<br />Givesinstantknowledge of status of builds.<br />Providesdashboardlikeintegrationformultipleprojects<br />Hudson instance: <br />http://localhost:8080/hudson <br />
  8. 8. Hudson Components<br />CI Server<br />Monitorsthe SCM<br />Executesthebuild script<br />Management Console (plug-in area)<br />Dashboard<br />Buildreportviewer<br />
  9. 9. Hudson Add-ons<br />Manybuild in Plugins<br /> (http://wiki.hudson-ci.org/display/HUDSON/Plugins)<br />Test CodeCoverage<br />Analysis<br />Unittesting<br />Doxygen<br />Ant<br />Google Calendar<br />Dependency Management with IVY<br />…<br />
  10. 10. Useful Hudson Plugins<br />Jbossmanagementplugin<br />Rubyplugin<br />SSH plugin<br />VMwareplugin<br />Androidemulatorplugin<br />Zen Timestampplugin<br />MaskPasswordsplugin<br />Twitterplugin<br />JUnitAttachmentplugin<br />Selenium AES plugin<br />JSUnitplugin<br />Log Parserplugin<br />Performance plugin (Jmeter)<br />HTML Publisher plugin<br />JIRA plugin<br />Hudson Personal View plugin<br />SubversionRelease Manager plugin<br />M2 releaseplugin<br />
  11. 11. Summary<br />Continually integrate and test to reduce risk<br />Detectproblemsearly<br />Alwayshave a deployablebuild<br />Generatemetricsto guide projectmanagement<br />ContinuousIntegrationis:<br />Vital for successful software development<br />
  12. 12. Hudson Demo URL<br />Demo Setup on InfoDesk India Server <br />URL: http://localhost:8080/hudson<br />
  13. 13. Thanks<br />Thanks<br />Ravi Soni<br />

×