Download - Hudson: from build jobs to build pipelines
John Ferguson Smart - Wakaleo Consulting
Continuous DeploymentAutomated build pipelines with Maven and Hudson
And other cool Hudson ti
ps!
1
Agenda
CI Basics
Hudson
Notification Strategies
Quality metrics
Build promotions
Automated deployment
2
Keeping tabs on test results
What broke?
When did it break?
How long did it take?
What was tested?
8
Notification - be imaginative!
Starring:Hudson Tray Applica;on
Hudson SoundsHudson Speaks
...
Let the right people know
Let them know fast
9
Unit tests are for developers
Acceptance tests are for everyone else
Automated acceptance tests
Starring:HTML Publisher
Plugin
10
Share your binaries!
Enterprise Repository
CI build server
WAR1.0.1
WAR1.0.1
Set up an Enterprise Repository Manager.Set it up today.
11
Code Quality Metrics
Starring:Viola;ons PluginCobertura PluginSonar Plugin
Quality code todayLess work tomorrow
13
Watch your speedStarring:
Performance Plugin
If you don’t spot performance issueswill your users do it for you?15
Build pipelines
Starring:Downstream build
view
17
Build pipelinesunit-‐tests
acceptance-‐tests
code-‐quality-‐metrics
deployment-‐to-‐test
integra=on-‐tests
deployment-‐to-‐uat
maven-‐release
18
Automated deployment
Automated builds and deployments
WAR
App Server
1.0.2
1.0.2
maven
1.0.01.0.1
1.0.2List of available versions
SCM server1.0.1
Starring:Parameterized Build PluginDeploy To Container PluginDescrip;on SeKer Plugin
M2 Release PluginSSH Plugin
19
Continuous Deployment
Deployment automa=on
QA and
Dep
loym
ent C
osts
Manual Deployment
Automated Deployment to TEST
$$
Automated Deployment to UAT
Automated Deployment to PROD
21
Continuous DeploymentQA and
Dep
loym
ent C
osts
Manual Deployment
Automated Deployment to TEST
$$
Automated Deployment to UAT
Automated Deployment to PROD
Deployment automa=on
Automated Test Quality
22
Further Readinghttp://www.hudson-ci.org
http://www.continuous-integration-with-hudson.com
http://huettermann.net/alm
29
Keep an eye on your builds
John Ferguson SmartEmail: [email protected]: hKp://www.wakaleo.com
TwiKer: wakaleo30