Jenkins Enterprise by CloudBeesKohsuke KawaguchiHarpreet SinghJan 10th, 2012                   ©2010 CloudBees, Inc. All R...
Agenda• Jenkins Enterprise by CloudBees  – Introduction  – Overview• Jenkins Enterprise by CloudBees  – Deep Dive         ...
©2010 CloudBees, Inc. All Rights   3          Reserved
Most adopted CI server  Continuum                                                             Travis           2          ...
Situation                           82%                                92%                ©2010 CloudBees, Inc. All Rights...
Complication72%                                       87%    * Numbers added for the top 3  priority responses in Jenkins ...
Implication                        72%                                       Create a mobile app.  Sooner updates in Jenki...
IntroducingJenkins Enterprise by CloudBeesPosition      Longer Term Support and Enterprise‐y Plugins Action          evalu...
Jenkins Enterprise by CloudBees• In a nutshell  – Subscription  – Technical support + Value-add plugins• Current Themes  –...
Jenkins Enterprise Themes and Plugins         Large                                                Optimized              ...
Longer term supportJenkins LTS                                 JE by CloudBees• Jenkins weekly too                        ...
©2010 CloudBees, Inc. All Rights©2011 CloudBees, Inc. All          Reserved                                      12
Jenkins Enterprise = LTS + plugins• No forked codebase  – All changes pushed to upstream now  – You can move between main ...
Using CloudBees plugins on OSS Jenkins• If you want to stay on the mainline for  new features, that’d be fine with us!• In...
What’s new in 2011.10?          ©2010 CloudBees, Inc. All Rights                    Reserved
Even load scheduler• Jenkins assigns jobs to where it run  before  – Many reasons to do this: SCM checkouts,    warm local...
Even load scheduler• With this plugin…  – per job or as global default• Use this when builds aren’t sticky  – If you are d...
Skip Next Build              ©2010 CloudBees, Inc. All Rights   18                        Reserved
Skip Next Build• Use this when…  – Large refactoring with instability  – External test resources offline for    maintenanc...
Recap: VMWare plugin• ESXi or vCenter• Auto-scaling  – Launches/stops VMs based on load  – Automatic IP detection on boot•...
VMWare Plugin Improvements• Jenkins will use all the  machines in a vCenter  folder                ©2010 CloudBees, Inc. A...
More improvements• XML/JSON API support on VMWare  objects• Load statistics graph support• UUID-based more reliable machin...
Demo: views in folders          ©2010 CloudBees, Inc. All Rights                    Reserved
Template Plugin• Ever had a lot of jobs that look similar?  – Changing them all is painful• Ever wanted to “lock down” the...
Template Plugin in a nutshell• Actors  – Admins: people who defines templates  – Users: people who use templates          ...
Demo: Hello World Builder          ©2010 CloudBees, Inc. All Rights                    Reserved
Benefits      • Templates appear as 1st class citizen           – Almost the same result as writing a custom             p...
Demo: Hello World Job         ©2010 CloudBees, Inc. All Rights                   Reserved
More on templating• Programmability in transformation  – Via Groovy Server Page or Jelly  – Conditionals, loops, function ...
More on templating• Inheritance & composition                                         Engine     Car                      ...
Conclusions• Jenkins Enterprise for more Enterprise-y  features• Next Steps  – Learn More     • Overview         – http://...
Going larger• Large scale automation beyond simple  build/test/report  – Caveat: not everything is fully cooked• Verified ...
Going smaller• Let developers use Jenkins for doing  their private builds• Validated merge  – Prevent a developer error fr...
Extensibility      • Many pluggable/extensible aspects           – Proof is in the # of plugins      • Full lifecycle assi...
Jenkins as a platform• Extensibility enables Jenkins to be a  building block for in-house tool  integration• Many availabl...
CloudBees and Jenkins• Sponsors OSS Jenkins development• Provides other resources  – Sponsored Jenkins User Conference  – ...
CloudBees and Jenkins• DEV@cloud  – Hosted Jenkins, utility pricing model  – Simplify deployment and administration• Jenki...
Jenkins Enterprise by CloudBees• In a nutshell  – Subscription  – Technical support + Value-add plugins• Themes  – For lar...
Long..er term supportJenkins LTS                                 JE by CloudBees• Jenkins weekly too                      ...
Value-add Plugins• Hierarchical Folders  – Organize jobs into a tree structure  – Simple security enforcement• Role-based ...
Demo       ©2010 CloudBees, Inc. All Rights                 Reserved
… and more• Auto-scaling with VMWare ESXi/vCenter• New scheduler algorithm that prefers  more even loading• Hypervisor-awa...
Q&A      ©2010 CloudBees, Inc. All Rights                Reserved
Upcoming SlideShare
Loading in …5
×

Jenkins Enterprise by CloudBees Webinar

2,134 views

Published on

New plugins that enhance security, help to manage Jenkins installations and optimize resource utilization, both on-premise and in the cloud.

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

No Downloads
Views
Total views
2,134
On SlideShare
0
From Embeds
0
Number of Embeds
14
Actions
Shares
0
Downloads
51
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Jenkins Enterprise by CloudBees Webinar

  1. 1. Jenkins Enterprise by CloudBeesKohsuke KawaguchiHarpreet SinghJan 10th, 2012 ©2010 CloudBees, Inc. All Rights ©2011 Cloud Bees, Inc. All Rights Reserved Reserved
  2. 2. Agenda• Jenkins Enterprise by CloudBees – Introduction – Overview• Jenkins Enterprise by CloudBees – Deep Dive ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 2
  3. 3. ©2010 CloudBees, Inc. All Rights 3 Reserved
  4. 4. Most adopted CI server Continuum Travis 2  9  Ongoing poll by  Devoxx  CruiseControl 23  John Smart, early 2011  Pulse 2  Nov 2011  TeamCity 56  TeamCity 10  Bamboo 61  Bamboo 13  Hudson 180  Hudson 17  Jenkins 524  Jenkins 79  0 200 400 600 0 20 40 60 80 What build & release management products do you typically use?  Jenkins  Maven  32%  Source: Eclipse Community Survey 2011  30%  ©2010 CloudBees, Inc. All Rights 4 Reserved
  5. 5. Situation 82%  92%  ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 5
  6. 6. Complication72%  87%  * Numbers added for the top 3  priority responses in Jenkins Survey  ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 6
  7. 7. Implication 72%  Create a mobile app.  Sooner updates in Jenkins plugins!  make building a plugin easier  Provide video tutorials. more detailed examples  Better admin tols/plugin  Better UI.  Pre‐commit requirement  Server recommendations Better uptime  Better QA. There seems to be a lot of  Better job chaining  regressions.  Easily manage build jobs for different branches  from a single configuration.   ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 7
  8. 8. IntroducingJenkins Enterprise by CloudBeesPosition   Longer Term Support and Enterprise‐y Plugins Action   evaluate (support){     // meets my organizational needs     …    }          evaluate (plugins){     // makes my life easier     …   }  Benefit    Fast issue resolutions & greatly improved management  ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 8
  9. 9. Jenkins Enterprise by CloudBees• In a nutshell – Subscription – Technical support + Value-add plugins• Current Themes – For large installations – Security for enterprise – Optimized utilization• Upcoming Themes – HA – Reporting ©2010 CloudBees, Inc. All Rights 9 Reserved
  10. 10. Jenkins Enterprise Themes and Plugins Large  Optimized  Security  Installation  Utilization  • Folders  • Roles‐based  • Auto‐scaling  • Templates  Access  for VMWare  • Backup  Control  installations  • Wikitext  • Throttled  Descriptions  Build  Execution  • Even Load  Strategy  • Skip Next  Build  ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 10
  11. 11. Longer term supportJenkins LTS JE by CloudBees• Jenkins weekly too • LTS supported for 9 often additional months• Addressed by LTS – Orgs can be on LTS for 1 year. – ~ every 3 months• If you are not on it…you  • Orgs get support on should be! Jenkins and not on a proprietary release ©2010 CloudBees, Inc. All Rights Reserved ©2011 CloudBees, Inc. All  11
  12. 12. ©2010 CloudBees, Inc. All Rights©2011 CloudBees, Inc. All  Reserved 12
  13. 13. Jenkins Enterprise = LTS + plugins• No forked codebase – All changes pushed to upstream now – You can move between main line, LTS, and JE without a loss• Version number reflects this 1.424.1.1  ©2010 CloudBees, Inc. All Rights 13 Reserved
  14. 14. Using CloudBees plugins on OSS Jenkins• If you want to stay on the mainline for new features, that’d be fine with us!• Install CloudBees update center as 2nd update center – 1.437 or later required – Run a script* from Groovy Console* https://raw.github.com/cloudbees/ride‐jenkins/master/ride‐jenkins.groovy  ©2010 CloudBees, Inc. All Rights 14 Reserved
  15. 15. What’s new in 2011.10? ©2010 CloudBees, Inc. All Rights Reserved
  16. 16. Even load scheduler• Jenkins assigns jobs to where it run before – Many reasons to do this: SCM checkouts, warm local cache (Maven/ivy/gems)• But this can create uneven load Slave 1  Slave 2  Busy  Idle  Busy  Idle  Idle  Idle  ©2010 CloudBees, Inc. All Rights 16 Reserved
  17. 17. Even load scheduler• With this plugin… – per job or as global default• Use this when builds aren’t sticky – If you are doing full checkout anyway – Storage is network mounted ©2010 CloudBees, Inc. All Rights 17 Reserved
  18. 18. Skip Next Build ©2010 CloudBees, Inc. All Rights 18 Reserved
  19. 19. Skip Next Build• Use this when… – Large refactoring with instability – External test resources offline for maintenance• Similar to “disabled build” in effect but it’ll  come back to normal automatically ©2010 CloudBees, Inc. All Rights 19 Reserved
  20. 20. Recap: VMWare plugin• ESXi or vCenter• Auto-scaling – Launches/stops VMs based on load – Automatic IP detection on boot• Snapshot/restore handling – Helps you maintain clean slaves ©2010 CloudBees, Inc. All Rights 20 Reserved
  21. 21. VMWare Plugin Improvements• Jenkins will use all the machines in a vCenter folder ©2010 CloudBees, Inc. All Rights 21 Reserved
  22. 22. More improvements• XML/JSON API support on VMWare objects• Load statistics graph support• UUID-based more reliable machine tracking ©2010 CloudBees, Inc. All Rights 22 Reserved
  23. 23. Demo: views in folders ©2010 CloudBees, Inc. All Rights Reserved
  24. 24. Template Plugin• Ever had a lot of jobs that look similar? – Changing them all is painful• Ever wanted to “lock down” the job  setting so that devs only modify a few things? ©2010 CloudBees, Inc. All Rights 24 Reserved
  25. 25. Template Plugin in a nutshell• Actors – Admins: people who defines templates – Users: people who use templates ©2010 CloudBees, Inc. All Rights 25 Reserved
  26. 26. Demo: Hello World Builder ©2010 CloudBees, Inc. All Rights Reserved
  27. 27. Benefits • Templates appear as 1st class citizen – Almost the same result as writing a custom plugin • It speaks the terms users understand – A lot more approachable for busy developers • Updating is lot less painful ©2010 CloudBees, Inc. All Rights©2010 CloudBees, Inc. All  Reserved 27
  28. 28. Demo: Hello World Job ©2010 CloudBees, Inc. All Rights Reserved
  29. 29. More on templating• Programmability in transformation – Via Groovy Server Page or Jelly – Conditionals, loops, function calls, …• Models are portable – You can define it once, deploy elsewhere ©2010 CloudBees, Inc. All Rights 29 Reserved
  30. 30. More on templating• Inheritance & composition Engine  Car  Transmission  Automatic  Manual  ©2010 CloudBees, Inc. All Rights 30 Reserved
  31. 31. Conclusions• Jenkins Enterprise for more Enterprise-y features• Next Steps – Learn More • Overview – http://www.cloudbees.com/jenkins-enterprise-by- cloudbees.cb • User guide – http://wiki.cloudbees.com/bin/view/Jenkins+Enterprise/We bHome – Download • 30 day free trial ©2010 CloudBees, Inc. All Rights 31 Reserved
  32. 32. Going larger• Large scale automation beyond simple build/test/report – Caveat: not everything is fully cooked• Verified component integration• Build pipeline• Workflow ©2010 CloudBees, Inc. All Rights 32 Reserved
  33. 33. Going smaller• Let developers use Jenkins for doing their private builds• Validated merge – Prevent a developer error from appearing in the trunk – AKA pre-tested commit ©2010 CloudBees, Inc. All Rights 33 Reserved
  34. 34. Extensibility • Many pluggable/extensible aspects – Proof is in the # of plugins • Full lifecycle assistance to plugin development – Including assistance in IDE – From skeleton to release • Reasonable documentation ⇒ resulted in large number of  in‐house custom plugins  ©2010 CloudBees, Inc. All Rights©2010 CloudBees, Inc. All  Reserved 34
  35. 35. Jenkins as a platform• Extensibility enables Jenkins to be a building block for in-house tool integration• Many available APIs – HTTP REST, CLI, Java inter-process remoting• Example – IOS build with Jenkins here at Cisco – Janky by GitHub ©2010 CloudBees, Inc. All Rights 35 Reserved
  36. 36. CloudBees and Jenkins• Sponsors OSS Jenkins development• Provides other resources – Sponsored Jenkins User Conference – Bug bounty program – Fund via donation to SPI ©2010 CloudBees, Inc. All Rights 36 Reserved
  37. 37. CloudBees and Jenkins• DEV@cloud – Hosted Jenkins, utility pricing model – Simplify deployment and administration• Jenkins Enterprise by CloudBees – Subscription – Technical support + Value-add plugins ©2010 CloudBees, Inc. All Rights 37 Reserved
  38. 38. Jenkins Enterprise by CloudBees• In a nutshell – Subscription – Technical support + Value-add plugins• Themes – For large installations – Security for enterprise – Optimized utilization ©2010 CloudBees, Inc. All Rights 38 Reserved
  39. 39. Long..er term supportJenkins LTS JE by CloudBees• Jenkins weekly too • LTS supported for 9 often additional months• Addressed by LTS – Orgs can be on LTS for 1 year. – ~ every 3 months – Mitigating risks• If you are not on it…you  should be! • Orgs get support on Jenkins and not on a proprietary release – Mitigating risks ©2010 CloudBees, Inc. All Rights Reserved ©2011 CloudBees, Inc. All  39
  40. 40. Value-add Plugins• Hierarchical Folders – Organize jobs into a tree structure – Simple security enforcement• Role-based Access Control – Split access control from job configuration – Work with indifferent IT ops• Templates – Make your Jenkins “speak” org-specific terms and build processes ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 40
  41. 41. Demo ©2010 CloudBees, Inc. All Rights Reserved
  42. 42. … and more• Auto-scaling with VMWare ESXi/vCenter• New scheduler algorithm that prefers more even loading• Hypervisor-aware build throttling• WikiText for XSS prevention• Backup ©2010 CloudBees, Inc. All Rights ©2011 CloudBees, Inc. All  Reserved 42
  43. 43. Q&A ©2010 CloudBees, Inc. All Rights Reserved

×