OEL8 Upgrade Best Practice for Jenkins

We have Jenkins installed on OEL7 and need to upgrade to OEL8. What is the best practice for upgrading Jenkins?

  • Upgrade to OEL8
  • Upgrade all the plugins you can
  • Upgrade to next jenkins stable release
  • follow Jenkins LTS Upgrade Guide
  • Upgrade all plugins you can
  • Repeat until you are at the most recent version

OR

  • Upgrade all the plugins you can
  • Upgrade to next jenkins stable release
  • follow Jenkins LTS Upgrade Guide
  • Upgrade all plugins you can
  • Repeat until you are at the most recent version
  • Upgrade to OEL8

Thanks for you help!

Hello and welcome to this community @aadams26, :wave:

  • Approach 1: JDK 17 is Available on OEL7
    1. Upgrade all the plugins you can: Ensure all your Jenkins plugins are up-to-date.
    2. Install JDK 17 on OEL7: Install JDK 17 on your current OS.
    3. Upgrade to the next Jenkins stable release: Incrementally upgrade Jenkins to the next stable release. This guide may help. Jenkins has supported running on Java 17 since the 2.355 weekly release.
    4. Follow the Jenkins LTS Upgrade Guide: Adhere to the official Jenkins LTS upgrade guide for each upgrade step.
    5. Upgrade all plugins you can: After each Jenkins upgrade, update all plugins again to ensure compatibility.
    6. Repeat steps 3-5 until you are at the most recent Jenkins version.
    7. Upgrade to OEL8: Once Jenkins and all plugins are up-to-date, proceed with upgrading the operating system to OEL8.
  • Approach 2: JDK 17 is Not Available on OEL7
    1. Upgrade the Operating System to OEL8: Upgrade your OS to OEL8, which supports JDK 17.
    2. Install JDK 17 on OEL8: Install JDK 17 on the upgraded OS.
    3. Upgrade all the plugins you can: Ensure all your Jenkins plugins are up-to- date.
    4. Upgrade to the next Jenkins stable release: Incrementally upgrade Jenkins to the next stable release.
    5. Follow the Jenkins LTS Upgrade Guide: Adhere to the official Jenkins LTS upgrade guide for each upgrade step.
    6. Upgrade all plugins you can: After each Jenkins upgrade, update all plugins again to ensure compatibility.
    7. Repeat steps 4-6 until you are at the most recent Jenkins version.