This project is archived. Its data is read-only.
Update Jenkins core and plugins: 2022Q2 edition
- Last time: #17847 # Preparation * [x] Update the list of actively used plugins * Add `build-symlink` * [x] Go through [the changelog](https://www.jenkins.io/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 * [x] Take note of currently running builds before starting the upgrades * [x] Deploy Jenkins upgrade to latest version available * [x] Use the Groovy and Python3 scripts to generate a list of up-to-date plugins - [x] See if upgrading `jjb` to the version in `sid` solves the problem with latest version of `postbuildscript`: https://gitlab.tails.boum.org/tails/sysadmin/-/issues/17847#note_186099, puppet-tails@1d89c7c → No: tails#19051 * [x] Deploy plugins upgrades * [x] Restart all agents. * [x] 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 * [x] Go through warnings in Jenkins interface. * [x] Manually remove uneeded plugins from `/var/lib/jenkins/plugins`. * [x] `bootstrap4-api` * [x] `jnr-posix-api` * [x] `popper-api` * [x] Restart builds that were interrupted by Jenkins restart. * [x] Schedule next update. → sysadmin#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
issue