Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Jenkins Best Practices
By Gergely Brautigam
Links
• Github: https://github.com/Skarlso/
jenkinsbestpractices
• Docker Hub: https://hub.docker.com/r/skarlso/
jenkinsbe...
Basics — UI
https://wiki.jenkins-ci.org/display/JENKINS/Simple+Theme+Plugin
Before Simple Theme Plugin
http://www.metecs.com/assets/images/capabilities/jenkins-screenshot.png
After Simple Theme Plugin + Material Theme
http://jenkins-contrib-themes.github.io/jenkins-material-theme/images/screensho...
Basics - Config Histroy
https://wiki.jenkins-ci.org/display/JENKINS/JobConfigHistory+Plugin
Diff for your config
Basics - Rebuild
https://wiki.jenkins-ci.org/display/JENKINS/Rebuild+Plugin
Rebuild Your Previous Job
Basics - Mask Password
https://wiki.jenkins-ci.org/display/JENKINS/Mask+Passwords+Plugin
No more leak in the Logs
Advanced - Folders
https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin
Folders For Branching
Usages For Folders
• Orignizing
• Clean workspace and environment
• All views is not cluttered — while with views it still...
Advanced — DSL
https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin
Never use the configuration screen again
Single Seed Job To Rule Them All
Branching with DSL + Folders
• Job’s groovy file lives next to the source code
Advanced - MultiJob
https://wiki.jenkins-ci.org/display/JENKINS/Multijob+Plugin
Parallel Test Runs With Multijob
Expert - Pretested Integration
https://wiki.jenkins-ci.org/display/JENKINS/Pretested+Integration+Plugin
Branch Setup
Pretest Setup
Push local branch to ready branch
• git push origin BFG-321:ready/BFG-321
Expert - Pipelines + Jenkins 2.0
• Everything you saw here — integrated
• Pipeline — Previously known as workflow
Pipeline - Jenkinsfile
Pipeline
Pipelines - MultiBranch Fetch configuration
Pipelines - MultiBranch - Run builds
Only builds branches which have ‘Jenkinsfile’ at root
Bonus Round
• Packer / Vagrant / Docker provisioning of build
slaves
• Configuration management for credentials
• Load Bala...
Thank you for listening!
• Github: https://github.com/Skarlso/
jenkinsbestpractices
• Docker Hub: https://hub.docker.com/r...
You’ve finished this document.
Download and read it offline.
Upcoming SlideShare
Jenkins Best Practices
Next
Upcoming SlideShare
Jenkins Best Practices
Next
Download to read offline and view in fullscreen.

Share

Jenkins Best Practices Meetup Slides

Download to read offline

Jenkins Best Practices meetup talk slides.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Jenkins Best Practices Meetup Slides

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

    Dec. 1, 2016
  • GergelyHask

    Jul. 29, 2016

Jenkins Best Practices meetup talk slides.

Views

Total views

793

On Slideshare

0

From embeds

0

Number of embeds

1

Actions

Downloads

13

Shares

0

Comments

0

Likes

2

×