Roni
Roni

Reputation: 604

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.

Upvotes: 10

Views: 21499

Answers (2)

juliancadi
juliancadi

Reputation: 1024

This worked for me on RedHat distribution:

sudo service jenkins stop
yum update jenkins
sudo service jenkins start

Upvotes: 14

Roni
Roni

Reputation: 604

i update it using this command :

yum update jenkins

it's working well

Upvotes: 26

Related Questions