We are currently on Jenkins version - 2.289.3 on a CentOS 7 host.
We will be upgrading our hosts to rocky linux 9 soon.
I would like to know if we can continue using the same version of Jenkins even after upgrading the OS to rocky 9.
Hello @ranisom and welcome to this community.
Yes, you should be able to continue using Jenkins version
2.289.3 after upgrading your OS to Rocky Linux 9.
Moving away from Centos 7 is a wise decision, congrats.
Rocky Linux 9 is a supported OS
As long as you have a compatible version of Java installed on your Rocky Linux 9 system, Jenkins
2.289.3 should continue to work as expected.
However, it’s always a good idea to test your Jenkins setup in a non-production environment after the OS upgrade to ensure everything works as expected. Also, keep in mind that you may need to re-install or update any Jenkins plugins or other dependencies that have specific OS requirements.
And… last but not least, it would be better to switch to a more recent version of Jenkins now that you have a new server.
This blog post could maybe help you.
Thank you so much for all the detailed explanation. Really appreciate your response. We do have a non prod environment where we will be upgrading rocky 9 first before doing it on our production. Upgrading to the newer version of Jenkins is still in the works but since rocky 9 has been our priority, wanted to make sure our current version would still work on the new OS.
Is there anyway we can save the jenkins log to the disk ?
Last Friday we had this issue on Jenkins where the pipelines were not building anything and we could not get to the log.
org.jenkinsci.plugins.scriptsecurity.scripts.UnapprovedUsageException: script not yet approved for use
I thought jenkins.log or jenkins.out would exist somewhere but did not see it anywhere in the default location or under $JENKINS_HOME.
Can you please suggest how the log can be saved in our local drive ?