jenkins URL with computer name does not open page

后端 未结 2 1551
无人及你
无人及你 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 : <arguments>-Xrs-Xmx256mDhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --prefix=/jenkins</arguments>

    1. Open Url http://localhost:8080/jenkins this should bring up the home page of jenkins
    0 讨论(0)
  • 2021-01-14 21:30

    As I said in my question above many people have asked this question and had the same problem but all answer have been something from jenkins documentation and actually not solution. so finally I found the problem and write it here probably for some people with the same problem

    first I uninstalled jenkins removed all files, folder and everything related to jenking also from windows registry and installed jenking but did not work. reinstalled windows (upgrade) and installed jenking again but did not work. next I clean reinstalled windows and installed jenkins and in this case jenkins works as I expected but I do not know what was wrong with the windows.

    0 讨论(0)
提交回复
热议问题