提交 ded37a2b 编写于 作者: K Kohsuke Kawaguchi

[JENKINS-16368] "mvn hudson-dev:run" to run with context path

This helps us catch a typical error of not using ${rootURL} or
getContextPath() where needed.
上级 a2dc21d8
......@@ -43,7 +43,7 @@ THE SOFTWARE.
<properties>
<JENKINS_HOME>${basedir}/work</JENKINS_HOME>
<contextPath>/</contextPath><!-- context path during test -->
<contextPath>/jenkins</contextPath><!-- context path during test -->
<port>8080</port><!-- HTTP listener port -->
</properties>
......@@ -386,7 +386,6 @@ THE SOFTWARE.
<artifactId>maven-jenkins-dev-plugin</artifactId>
<!-- version specified in grandparent pom -->
<configuration>
<contextPath>${contextPath}</contextPath>
<!--
Reload webapp when you hit ENTER. (See JETTY-282 for more)
-->
......@@ -466,6 +465,7 @@ THE SOFTWARE.
</systemProperty>
</systemProperties>
<webApp>
<contextPath>${contextPath}</contextPath>
<configurationDiscovered>false</configurationDiscovered>
</webApp>
</configuration>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册