Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Updating Jenkins on Centos

I'm trying to update Jenkins on Centos7

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.

like image 386
Roni Avatar asked May 08 '16 07:05

Roni


People also ask

How do I update existing Jenkins?

Navigate to Manage Jenkins Manage Plugins and under the Updates tab, select upgrade all plugins. Restart the operations center.

How do I make Jenkins automatically update?

Jenkins can be upgraded from Manage Jenkins menu also just go to manage Jenkins option click on Upgrade Automatically. Once clicked on upgrade automatically option it will take us to the upgrade progress screen once completed it should success.


2 Answers

i update it using this command :

yum update jenkins

it's working well

like image 143
Roni Avatar answered Oct 05 '22 14:10

Roni


This worked for me on RedHat distribution:

sudo service jenkins stop
yum update jenkins
sudo service jenkins start
like image 22
juliancadi Avatar answered Oct 05 '22 16:10

juliancadi