Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S sysadmin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 95
    • Issues 95
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • tails
  • sysadmin
  • Issues
  • #17894
Closed
Open
Created Mar 22, 2022 by Zen Fu@zenMaintainer16 of 16 tasks completed16/16 tasks

Update Jenkins core and plugins: 2022Q2 edition

  • Last time: #17847 (closed)

Preparation

  • Update the list of actively used plugins
    • Add build-symlink
  • 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.332.1
    • Available version: 2.346.1

Deployment

  • Take note of currently running builds before starting the upgrades
  • Deploy Jenkins upgrade to latest version available
  • Use the Groovy and Python3 scripts to generate a list of up-to-date plugins
    • See if upgrading jjb to the version in sid solves the problem with latest version of postbuildscript: #17847 (comment 186099), puppet-tails@1d89c7c7 → No: tails#19051
  • 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.
    • bootstrap4-api
    • jnr-posix-api
    • popper-api
  • Restart builds that were interrupted by Jenkins restart.
  • Schedule next update. → #17947

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.
  • Available upgrade for postfbuildscript: see tails#19051
Edited Jun 30, 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