Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Packer
Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
Here's how I have it scripted. (documentation : https://github.com/samrocketman/jenkins-bootstrap-shared/tree/main/scripts/upgrade )
If you're using the community Jenkins docker image you can generate your upgraded plugins.txt file with a script like this https://github.com/samrocketman/jenkins-script-console-scripts/blob/main/list-versions-for-issue-report.groovy
For task runners, primarily use Docker executors or ephemeral VMs. The images for these are created with Packer: https://www.packer.io , with installation tasks handled in Ansible so that they can be shared across all image types, and on physical hardware when needed.
Related posts
- How do hosting companies immediately create vm right after purchasing one?
- Steps to improve maintenance efforts
- Event-driven automation with Ansible
- What is the best course/courses to learn pipeline as code with Groovy and Jenkins
- How to safely upgrade jenkins plugin. What is the fail proof way to do it.