jenkins URL with computer name does not open page

后端 未结 2 1562
无人及你
无人及你 2021-01-14 20:33

I know this question is asked before but I could not find any right solution for that

I have install jenkins on my windows 7 as windows service, it works fine with

2条回答
  •  感情败类
    2021-01-14 21:13

    I just want to give my solution

    1. Go to Jenkins Home Directory ( I have mine in C:\Jenkins)
    2. Edit jenkins.xml
    3. Add this --prefix=/jenkins to the end of the argument as show below and restart the jenkins service ALL worked OK for me !

    Example : -Xrs-Xmx256mDhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --prefix=/jenkins

    1. Open Url http://localhost:8080/jenkins this should bring up the home page of jenkins

提交回复
热议问题