Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Jenkins 2022 and beyond

Jenkins 2022 and beyond

Is the Butler Still Young? Maybe not but it is still one of the most popular automation tools. Jenkins in 2022 is not Jenkins in 2012. It keeps evolving to address demands from its users and contributors: pipeline as code, configuration as code, better support for cloud environments, UX, etc. We are looking forward to the next major iteration in Jenkins evolution. So what’s next for it? I will focus on the current challenges for Jenkins. What does need to change in the project and the community to keep it relevant? We will talk about revitalizing the community and attracting new company contributors, consolidating user experiences, and reusing experiences of BlueOcean and Jenkins X? We will also talk about interoperability with other projects, making Tekton a first class citizen Pipeline engine, and making Jenkins available everywhere regardless of CI/CD system you actually use.

Avatar for Oleg Nenashev

Oleg Nenashev PRO

June 07, 2022

Video

More Decks by Oleg Nenashev

Transcript

  1. Outline Slides are public! Target audience: Jenkins users and contributors

    Plan: History dive My vision for Jenkins What’s next for Jenkins? Disclaimer: This presentation represent the opinions of the presenter and do not necessarily represent the official position of the Jenkins community or Dynatrace 3
  2. Taking a break in Jenkins • On sabbatical in the

    community • It’s not due to leaving CloudBees • Reasons: personal events, ongoing war • I participate in governance and GSoC • I will be back! CDF Statement We stand with the people of Ukraine. Please assist humanitarian efforts for the Ukrainian people and those affected by the military invasion of Ukraine by supporting international aid organizations, including UNICEF. 4
  3. Who is Mr. Jenkins? Automation server/framework Open-source More than 1800

    plugins Big community Commercial support is available 9
  4. Jenkins community • Open governance • Jenkins evolution is defined

    by contributors • Open to any individual and company contributor • Maintainers have full freedom in their plugins 11
  5. Modern Jenkins • • • • • Pipeline-as-Code Configuration-as-Code New

    plugins and integrations Modern packaging Distributions for public clouds 14
  6. 16

  7. Obstacles we hit • Isolated sub-communities • Lack of transparency

    • Perceived lack of focus • Hard to get multiple contributors behind big initiatives • Hard to join initiatives 17
  8. Jenkins community consolidation • 2011 - Open Governance, Governance Meetings

    • 2015 - Teams, Jenkins Officers, sub-projects • 2017 - Jenkins Enhancement Proposals • 2018 - Special interest groups (SIGs) • 2019 - Governance Board elections • 2019 - CDF Membership, founding project • 2020 - Graduation at CDF • 2020 - Public roadmap 18
  9. Public Roadmap RELEASED PREVIEW CURRENT NEAR-TERM FUTURE Published on July

    15, 2020 Open process (JEP-14) A bit outdated :( Target audience: • Jenkins users • Contributors • Adopters and vendors jenkins.io/project/roadmap 19
  10. Roadmap Concepts • Community-driven • All initiatives: features, docs, infrastructure,

    community • Open and transparent process • Open data • No commitment on dates and delivery at all github.com/jenkinsci/jep/tree/master/jep/14 20
  11. Generation III. New demands Generation III evolves … but not

    fast enough for early adopters Shift left 24
  12. CI/CD System from Jenkins Samples Demos Configs Ba ck en

    d Plugins Система Infrastruc ture Infrastruc ture Infrastruc ture Docs 29
  13. 30

  14. frameworks Samples Demos Plugins Configs Система ? Ba ck en

    d without proper maintenance Infrastructure Infrastructure Infrastructure Docs 31
  15. It is hard to maintain Jenkins • Fine-tuning is needed

    • Maintenance is needed • Expertise is needed 32
  16. >10 years of compatibility Hudson 2 plugins still work! BUT:

    • Architecture issues • Old libraries • Obsolete UI • Plugin compatibility issues • Regular Security-updates 34
  17. Scalability Jenkins controllers handle the most of the workload Jobs

    run on controllers, agents just execute subtasks Controller 35
  18. Classic Approaches are still there Approach: Using “classic” Job types:

    Freestyle, Matrix, JobDSL, … Keywords: • Script steps to run the logic • Custom Tools Plugin to manage tools • Throttle Concurrent Builds and Lockable Resources to dispatch access to hardware • Naginator Plugin to restart builds on-demand • Parameterized Trigger / Copy artifacts to parallelize tests and to collect results 37
  19. 39

  20. Shifting Gears: Making Changes Aug 31, 2018 – Kohsuke Kawaguchi,

    “Jenkins: Shifting Gears” https://jenkins.io/blog/2018/08/31/shifting-gears/ 40
  21. Jenkins as community • Making Jenkins the best place to

    contribute • Focus on future. Jenkins is here to stay • Open, not just open source • Vendor neutral. More vendors involved • No vendor lock-in in open source components 43
  22. Jenkins as project 1. Jenkins Anywhere 2. Cloud-Friendly Architecture 3.

    UX is a priority 4. Jenkins as a Framework 5. Compatibility in Mind 6. Security in mind 44
  23. User Experience and User Interface UI/UX Revamp: Look & Feel,

    Themes, Accessibility User documentation and guidelines (?) Better Pipeline browsing jenkins.io/sigs/ux 45
  24. Continued evolution – Jenkins Pipeline engine • Pipeline as YAML

    • Jenkins Templating Engine • IDE integrations • Documentation Improvements jenkins.io/sigs/pipeline-authoring 46
  25. … and Cloud Platforms Kubernetes, Kubernetes, Kubernetes Operators and Helm

    charts Jenkinsfile Runner – Portable Pipeline engine / FaaS Support for more Pipeline engines, esp. Tekton 49
  26. Jenkins Interoperability Wishlist • Further adoption of OpenTelemetry • Adopt

    CDEvents for events and triggers • Tekton as a first class citizen Pipeline Engine • More automation, less orchestration. Integrate with tools like Spinnaker, Jenkins X or Keptn 50
  27. 51

  28. Takeaways Jenkins in 2020 != Jenkins in 2012 Jenkins keeps

    changing Public roadmap Many projects are underway It worth exploring! 53
  29. Contributing is not only about code Join special interest groups

    (SIGs) Let us know about your pain-points Share your stories and experiences jenkins.io/blog and other blogs community.jenkins.io Meetups Jenkins DEV list Jenkins needs you! 56
  30. Join the Jenkins Contributor Summit! Thursday, June 9 (9:00 am

    – 5:00 pm CDT) Location: JW Marriott Austin. 57