Skip to content

Update Jenkins core and plugins (2023Q1 edition)

Last time: #17947 (closed)

Preparation

  • Go through the changelog, paying attention to changes on how agents connect to controller, config changes that may need update, important changes in plugins, etc.
    • Current version: 2.346.3
    • Available version: 2.387.1

Deployment

  • Deploy Jenkins upgrade to latest version available
  • Use the Groovy and Python3 scripts to generate a list of up-to-date plugins
  • Deploy plugin upgrades -- puppet-tails!120 (merged)
  • Restart all agents.
  • Manually run the Update jobs script (may be needed so XML is valid with current Jenkins):
    sudo -u jenkins /usr/local/sbin/deploy_jenkins_jobs update
  • Go through warnings in Jenkins interface.
  • Manually remove uneeded plugins from /var/lib/jenkins/plugins.

Wrap up

  • Restart builds that were interrupted by Jenkins restart.
  • Schedule next update.
Edited by Zen Fu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information