Previously installed the jenkins version 2.164.3 by downloading the RPM package and used “yum install jenkins.2.164.3.rpm.package” to install in Redhat linux 7.x server.
After the initial installation, we upgraded the jenkins instance by replacing the jenkins.war package in /usr/lib/jenkins several times, and now the current version of jenkins instance is 2.361.2
My security team is scanning the pkgs linux server, finding old pkg version, telling us to upgrade the pkg.
I tried “sudo yum upgrade/update Jenkins” in linux, but it is not upgrading the pkg!!
If I remove the old pkg - sudo yum remove Jenkins , will it affect current version of Jenkins?
If not what is other best solution to upgrade old pkg or remove it without affecting current running version?
Can we try to download the lastest rpm package and use “yum update latest.rpm.package” to do the upgrade? If I do this, do I have to setup Jenkins all over again?
We have lot of plugins and integration with many tools and auto jobs running!! so want to upgrade the pkg without affecting current setup.
Appreciate your help and support on this
Thanks in advance.
In work I have mainly CentOS, and there is no latest version of Jenkins package for this OS*. So I install Jenkins via ansible, and download packages from Redhat Jenkins Packages.
Maybe it’s been fixed but I didn’t checked it for a long time.