Jenkins website root path

前端 未结 11 579
不思量自难忘°
不思量自难忘° 2020-12-01 06:07

I\'m trying to follow the directions here: https://wiki.jenkins-ci.org/display/JENKINS/Running+Jenkins+behind+Apache to set up my Jenkins server to appear at http://myhost/j

11条回答
  •  误落风尘
    2020-12-01 06:50

    For a Windows installation add the prefix within the tag (jenkins.xml) and restart the service (Powershell Restart-Service jenkins). E.g.:

      %BASE%\jre\bin\java
      -Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=8080 --webroot="%BASE%\war" --prefix=/jenkins
    

提交回复
热议问题