We are having different Jenkins instances running on different server. Most of our Jenkins instances are Docker container based. Current Jenkins instances are running on either 2.235 or 2.259, however we need to plan to upgrade Jenkins to version greater than 2.303.x.
I have some query related to this:
What are the supported JAVA/JDK version for target Jenkins version supported like we are planning for 2.303.3.
Identify any compatibility issues for build tools (e.g. maven) on respective target Jenkins versions
I am using rpm to upgrade the jenkins so what are the steps?
Using rpm to upgrade Jenkins is inconsistent with Docker container based images. If you’re running from a container, you should upgrade by using a new base image of Jenkins. If you’re running the rpm package, it does not support running as a container. It runs the jenkins.war file as a Linux service, without any Docker container.
Guidance on switching from weekly to LTS is available at
are you using rpms inside of a container to run jenkins? that seems very overkill. There’s already existing published best practices docker images.
You can manually install whatever rpms you want inside of your image, but the only reason to do so is if your using the jenkins rpm inside your container, which would also mean your using systemd, which doesn’t feel right.
@halkeye is right. Using systemd as the service and process control manager for a Docker image is overkill and wastes resources. It will install many system-level files that are not needed and will run processes that are not needed. There are rpm based systems (like CentOS 8) that intentionally do not provide a systemd in their Docker image.
Extend the Jenkins Docker image definition. Don’t use rpm inside a Docker image to install Jenkins.