Updating Jenkins on Centos
15,212
Solution 1
i update it using this command :
yum update jenkins
it's working well
Solution 2
This worked for me on RedHat distribution:
sudo service jenkins stop
yum update jenkins
sudo service jenkins start
Author by
Roni
Updated on July 27, 2022Comments
-
Roni almost 2 years
I'm trying to update
Jenkins
onCentos7
When I run
service Jenkins status
command I can see that Jenkins is active.When I try to connect to Jenkins using the browser I'm getting this message:
refused to connect to http://*****:8080.
I have followed the following steps but it's not working:
1) Run
service Jenkins stop
command.2) Replaced
Jenkins.war
with the new one.3) Run
service Jenkins start
command. -
moumoute6919 almost 5 yearsIs it safe to simply do " yum update jenkins " without stopping Jenkins (with " service Jenkins stop ") ?