Jenkins refuses to restart

前端 未结 6 1100
暗喜
暗喜 2020-12-16 12:00

Following this answer, I have tried restarting a Jenkins instance using:

(jenkins_url)/safeRestart

and

(jenkins_url)/restar         


        
6条回答
  •  独厮守ぢ
    2020-12-16 12:26

    To manually restart jenkins :

    1. Go to task manager and end all the java instances .
    2. Close command prompt .
    3. Open command prompt again, point the current directory where jenkins.war file is available.
    4. And fire the command java -jar jenkins.war .

    I happen to face this problem where restart was required to update jenkins version , I tried by url but faced the error - jenkins cannot restart itself as currently configured. Tried above mentioned steps and it worked.

提交回复
热议问题