Hudson Continuous Integration for PHP

5,415 views
5,186 views

Published on

Presentation given at BarCamp Blackpool as a precursor to a practical demonstration of Hudson, Phing, PHPUnit etc.

Published in: Technology
1 Comment
4 Likes
Statistics
Notes
No Downloads
Views
Total views
5,415
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
80
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

Hudson Continuous Integration for PHP

  1. 1. Hudson for PHP
  2. 2. Jeremy Coates MD Magma Digital Ltd Founder PHPNW @phpcodemonkey
  3. 3. Continuous Integration? Regular build / deployment of code Enables automated documentation building, testing, style checking Dashboard / control panel to monitor state Related to Unit Testing & other Agile development practices
  4. 4. Why CI? Improve quality of code, across development teams. Open development, good peer pressure Ensure consistency of style, reduce maintenance cycle overheads Remove human nature laziness, it's automatic! Prove it builds & deploys regularly, shorter development cycle
  5. 5. Why CI? /cont Each developer integrates at least daily Those integrations are verified by the CI build job Issues are reported after the build, opportunity to make right in short time span
  6. 6. Why CI? /cont Automate the hard / boring build steps Risk management Deployment automated, at least every day Visibilty increases across development team Confidence in build and software quality increased
  7. 7. Workflow Developer commits code to VCS CI Server detects changes CI Server checks out / updates code, runs tests, analyses code CI Server feeds back to development team
  8. 8. CI Servers Bamboo Cruise Control (phpUnderControl) Hudson Own Scripts, linking tools
  9. 9. http://hudson-ci.org/
  10. 10. More Resources http://www.davegardner.me.uk/blog/ 2009/11/09/continuous-integration-for-php- using-hudson-and-phing/ http://www.phpunit.de/manual/current/en/ continous-integration.html http://cruisecontrol.sf.net/ http://www.phpundercontrol.org/ http://www.atlassian.com/software/bamboo/
  11. 11. Jeremy Coates MD Magma Digital Ltd Founder PHPNW @phpcodemonkey

×