Advertisement
Advertisement

More Related Content

Similar to Jenkins Best Practices Meetup Slides(20)

Advertisement

Jenkins Best Practices Meetup Slides

  1. Jenkins Best Practices By Gergely Brautigam
  2. Links • Github: https://github.com/Skarlso/ jenkinsbestpractices • Docker Hub: https://hub.docker.com/r/skarlso/ jenkinsbestpractices/
  3. Basics — UI https://wiki.jenkins-ci.org/display/JENKINS/Simple+Theme+Plugin
  4. Before Simple Theme Plugin http://www.metecs.com/assets/images/capabilities/jenkins-screenshot.png
  5. After Simple Theme Plugin + Material Theme http://jenkins-contrib-themes.github.io/jenkins-material-theme/images/screenshot-jenkins-theme-material-main-large.png
  6. Basics - Config Histroy https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHistory+Plugin
  7. Diff for your config
  8. Basics - Rebuild https://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin
  9. Rebuild Your Previous Job
  10. Basics - Mask Password https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin
  11. No more leak in the Logs
  12. Advanced - Folders https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin
  13. Folders For Branching
  14. Usages For Folders • Orignizing • Clean workspace and environment • All views is not cluttered — while with views it still is • Branches — combined with the next one…
  15. Advanced — DSL https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin
  16. Never use the configuration screen again
  17. Single Seed Job To Rule Them All
  18. Branching with DSL + Folders • Job’s groovy file lives next to the source code
  19. Advanced - MultiJob https://wiki.jenkins-ci.org/display/JENKINS/Multijob+Plugin
  20. Parallel Test Runs With Multijob
  21. Expert - Pretested Integration https://wiki.jenkins-ci.org/display/JENKINS/Pretested+Integration+Plugin
  22. Branch Setup
  23. Pretest Setup
  24. Push local branch to ready branch • git push origin BFG-321:ready/BFG-321
  25. Expert - Pipelines + Jenkins 2.0 • Everything you saw here — integrated • Pipeline — Previously known as workflow
  26. Pipeline - Jenkinsfile
  27. Pipeline
  28. Pipelines - MultiBranch Fetch configuration
  29. Pipelines - MultiBranch - Run builds Only builds branches which have ‘Jenkinsfile’ at root
  30. Bonus Round • Packer / Vagrant / Docker provisioning of build slaves • Configuration management for credentials • Load Balancing Jenkins slaves
  31. Thank you for listening! • Github: https://github.com/Skarlso/ jenkinsbestpractices • Docker Hub: https://hub.docker.com/r/skarlso/ jenkinsbestpractices/
Advertisement