Gayanjani Gamage
Gayanjani Gamage

Reputation: 43

How to manually restart Jenkins without wiping-out the Jenkins installation?

I need to manually restart Jenkins without wiping-out the Jenkins installation. I have seen many threads, but cannot find a proper solution.

I am using a Windows server.

Upvotes: 2

Views: 1248

Answers (3)

olizimmermann
olizimmermann

Reputation: 82

Maybe it's enough when you click on "Manage Jenkins" -> "Reload Configuration from disk".

Upvotes: -1

BigGinDaHouse
BigGinDaHouse

Reputation: 1366

You can add /restart after root url of your jenkins instalation and it will do what you need. Note: it will wait till all running jobs finish

Example my.jenkins.com/restart

Upvotes: 1

Osanda Deshan
Osanda Deshan

Reputation: 1559

Use the below steps.

  1. Go to the location where you have downloaded jenkins.war
  2. Right click and open a command prompt
  3. Type the below command and press Enter

    java -jar jenkins.war

Upvotes: 1

Related Questions