see hudson run, run hudson, run [self 2010]

Download See Hudson Run, Run Hudson, Run [SELF 2010]

If you can't read please download the document

Upload: vincent-batts

Post on 19-Jun-2015

230 views

Category:

Technology


2 download

DESCRIPTION

Spartanburg, SC, USA

TRANSCRIPT

  • 1. See Build, See Build RunRun Build RunHudson - Continuous IntegrationVincent Batts [email protected] 2010

2. Outline What is it? Why would I want it, or anything like it? How do I get it going? Can it whistle while it twurks? WORK IT! 3. What is it?Continuous Integration 4. Continuous IntegrationProject started by Kohsuke KawaguchiIntegration PrinciplesSingle RepositoryPerformanceVisibilityUnified UI to manage builds 5. Why would I want it, or anything like it? $> whoami Automating build related functions Integrated Information 6. $> whoamiSoftware ProjectsOpen sourceCommercialOtherwiseDistributionsPackage Maintainers 7. $> whoamiSkill level neededn00bstoL33t haxortoprofessionals 8. Automating build related processGet latest codeBuild itPackage itDeploy itTest and analyze it 9. Integrated InformationComments on commitsLinks to the related bugs/ticketsSource code changesTrends Graphed build time Weather forecast of build stabilityHistory Statistics Console output Build artifacts 10. How do I get it started?Quickly :)$> wget http://hudson-ci.org/latest/hudson.war$> java -jar hudson.war [--help] [--daemon]$> firefox http://localhost:8080/ 11. How do I get it started?Quickly :)$> wget http://hudson-ci.org/latest/hudson.war$> java -jar hudson.war [--help] [--daemon]$> firefox http://localhost:8080/Start playing first,then customize to meet your needs 12. How do I get it started?Standalone(default port 8080)as a limited useras an init daemonjava appletwithin an servlet engine like apache-tomcat 13. Source code integrationsvncvslocal file systemor install plugins (git, perforce, bzr, etc.) 14. Build StepsShell ( sha-bang if you want )apache-ant targetsmaven targetswindows batchor install plugins (rake, python, scons, etc.) 15. OptionsSchedulingPublishing of Artifacts Maven plugins SCP FTPBuild order Package chains Testing sequences 16. Can it whistle while it twurks?Distributed BuildsExtendabilityMultiple Build EnvironmentsIntegration 17. Distributed BuildsMultiple Nodes Platform Independent Slaves PXE boot Virtual machinesdistccicecream 18. Extendability240+ plugins point and click ready and super APIs to write your own 19. Multiple Build Environments Globally available build tools Job level environments 20. IntegrationIDE (netbeans, eclipse)Bug trackingBugzilla (default)Pluginable Jira Redmine Mantis trac 21. WORK IT!ArchitectureNotificationsRights and Access 22. ArchitectureSingle machine or manyScalable on servers,but easy to repurpose unused machines 23. Talk to meRSSemailtwitterIRCJabber 24. Rights and AccessOpen (no users)LDAPUnix users/groupsPlugins forActiveDirectoryMysql database of users 25. Rights and AccessEveryone can do everythingOnly logged users can manageMatrices of rights (Global or Project) 26. Recap What is it? Why would I want it, or anything like it? How do I get it going? Can it whistle while it twurks? WORK IT! 27. Questions? 28. LinksOfficial site - http://hudson-ci.org/Documentation (wiki) - http://wiki.hudson-ci.org/apache-tomcat - http://tomcat.apache.org/hudson-eclipse - http://code.google.com/p/hudson-eclipse/Kohsuke Kawaguchis blog - http://kohsuke.org/$> wget http://hudson-ci.org/latest/hudson.war$> java -jar hudson.war [--help]$> firefox http://localhost:8080/