提交 981e7a7f 编写于 作者: A Andreyev Dias de Melo

I guess that this example should be helpful when debugging slave's environments

上级 ed0de1e8
...@@ -29,8 +29,9 @@ THE SOFTWARE. ...@@ -29,8 +29,9 @@ THE SOFTWARE.
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<t:scriptConsole> <t:scriptConsole>
<pre>println System.getenv("PATH")</pre> <pre>println System.getenv("PATH")</pre>
<pre>println "uname -a".execute().text</pre>
<p> <p>
${%This execution happens in the slave agent JVM.} ${%This execution happens in the slave agent JVM.}
</p> </p>
</t:scriptConsole> </t:scriptConsole>
</j:jelly> </j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册