提交 9429fff8 编写于 作者: M mindless

[FIXED HUDSON-3371] fix env-vars.html link in maven.html,

and fix for ant.html when inside a /view/.  Both now use a *checkout*
URL from dev.java.net (as maven.html already did).. how can we use
${rootURL} in (static html) help files?


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16859 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c959186b
......@@ -3,6 +3,6 @@
invoke Ant with the given targets and options. Any non-zero exit code
causes Hudson to mark the build as a failure.
<p>
Hudson supplies some <a href='../../env-vars.html' target=_new>
Hudson supplies some <a href="https://hudson.dev.java.net/source/browse/*checkout*/hudson/trunk/hudson/main/war/resources/env-vars.html" target="_new">
environment variables</a> that can be used from within the build script.
</div>
\ No newline at end of file
</div>
......@@ -5,10 +5,10 @@
Some Maven versions have a bug where it doesn't return the exit code correctly.
<p>
Hudson passes <a href="https://hudson.dev.java.net/source/browse/*checkout*/hudson/hudson/main/war/resources/env-vars.html">
Hudson passes <a href="https://hudson.dev.java.net/source/browse/*checkout*/hudson/trunk/hudson/main/war/resources/env-vars.html" target="_new">
various environment variables</a> to Maven, which you can access from Maven as "${env.VARIABLENAME}".
<p>
The same variables can be used in command-line arguments (as if you are invoking this from shell).
For example, you can specify <tt>-DresultsFile=${WORKSPACE}/${BUILD_TAG}.results.txt</tt>
</div>
\ No newline at end of file
</div>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册