Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S sysadmin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 65
    • Issues 65
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • tails
  • sysadmin
  • Issues
  • #17947

Update Jenkins core and plugins: 2022Q3 edition

Last time: #17894 (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.1
    • Available version: 2.361.2
  • Upgrade the postbuildscript plugin, which needs a fix in Job definitions -- tails#19051 (moved)

Deployment

  • Deploy Jenkins upgrade to latest version available
  • Use the Groovy and Python3 scripts to generate a list of up-to-date plugins
  • Deploy plugins upgrades
  • 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

Wrap up

  • Go through warnings in Jenkins interface.
  • Manually remove uneeded plugins from /var/lib/jenkins/plugins.
  • Restart builds that were interrupted by Jenkins restart.
  • Schedule next update. → Update Jenkins core and plugins (2023Q1 edition) (#17969 - closed)

Leftover warnings:

  • global-build-stats plugin 244.v27c8a_2e50a_34 Stored XSS vulnerability: There's no newer version for this plugin for now and the previous one is from 5y ago.
Edited Nov 10, 2022 by Zen Fu
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking