Presentation is loading. Please wait.

Presentation is loading. Please wait.

See Build, See Build Run Run Build Run Hudson - Continuous Integration Vincent Batts SELF 2010.

Similar presentations


Presentation on theme: "See Build, See Build Run Run Build Run Hudson - Continuous Integration Vincent Batts SELF 2010."— Presentation transcript:

1 See Build, See Build Run Run Build Run Hudson - Continuous Integration Vincent Batts vbatts@gmail.comvbatts@gmail.com SELF 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 Project started by Kohsuke Kawaguchi Integration Principles Single Repository Performance Visibility Unified UI to manage builds

5 Why would I want it, or anything like it? ● $> whoami ● Automating build related functions ● Integrated Information

6 $> whoami Software Projects Open source Commercial Otherwise Distributions Package Maintainers

7 $> whoami Skill level needed n00bs to L33t haxor to professionals

8 Automating build related process Get latest code Build it Package it Deploy it Test and analyze it

9 Integrated Information Comments on commits Links to the related bugs/tickets Source code changes Trends – Graphed build time – Weather forecast of build stability History – 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 user as an init daemon java applet within an servlet engine like apache-tomcat

13 Source code integration svn cvs local file system or install plugins (git, perforce, bzr, etc.)

14 Build Steps Shell ( sha-bang if you want ) apache-ant targets maven targets windows batch or install plugins (rake, python, scons, etc.)

15 Options Scheduling Publishing of Artifacts Maven plugins ● SCP ● FTP Build order Package chains Testing sequences

16 Can it whistle while it twurks? Distributed Builds Extendability Multiple Build Environments Integration

17 Distributed Builds Multiple Nodes – Platform Independent Slaves – PXE boot – Virtual machines distcc icecream

18 Extendability 240+ plugins point and click ready and super API's to write your own

19 Multiple Build Environments ● Globally available build tools ● Job level environments

20 Integration IDE (netbeans, eclipse) Bug tracking Bugzilla (default) Pluginable ● Jira ● Redmine ● Mantis ● trac

21 WORK IT! Architecture Notifications Rights and Access

22 Architecture Single machine or many Scalable on servers, but easy to repurpose unused machines

23 Talk to me RSS email twitter IRC Jabber

24 Rights and Access Open (no users) LDAP Unix users/groups Plugins for ActiveDirectory Mysql database of users

25 Rights and Access Everyone can do everything Only logged users can manage Matrices 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 Links Official 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 Kawaguchi's blog - http://kohsuke.org/ $> wget http://hudson-ci.org/latest/hudson.war $> java -jar hudson.war [--help] $> firefox http://localhost:8080/


Download ppt "See Build, See Build Run Run Build Run Hudson - Continuous Integration Vincent Batts SELF 2010."

Similar presentations


Ads by Google