提交 32b6819d 编写于 作者: S sogabe

Japanese L10N


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9109 71c3de6d-444a-0410-be80-ed276b4c234a
上级 3a6840ad
<html>
<head>
<title>利用可能な環境変数</title>
</head>
<style type="text/css">
dt { font-weight: bold; }
</style>
<body>
シェルスクリプトでは、次の変数を利用できます。
<dl>
<dt>BUILD_NUMBER</dt>
<dd>当該ビルドの番号。例 "153"</dd>
<dt>BUILD_ID</dt>
<dd>当該ビルドID。例 "2005-08-22_23-59-59" (YYYY-MM-DD_hh-mm-ss)</dd>
<dt>JOB_NAME</dt>
<dd>ビルドのプロジェクト名。例 "foo"</dd>
<dt>BUILD_TAG</dt>
<dd>文字列 "hudson-<i>${JOBNAME}</i>-<i>${BUILD_NUMBER}</i>"。
簡易な識別子として、リソースファイルやjarファイルなどに付与するのに便利です。</dd>
<dt>EXECUTOR_NUMBER</dt>
<dd><!-- TODO 誰か訳して! -->
The unique number that identifies the current executor
(among executors of the same machine) that's
carrying out this build. This is the number you see in
the "build executor status", except that the number starts from 0, not 1.</dd>
<dt>JAVA_HOME</dt>
<dd>特定のJDKを使用するようにジョブを設定する場合、そのJDKのJAVA_HOMEをこの変数に設定します。
この変数を設定すると、<tt>PATH</tt><tt>$JAVA_HOME/bin</tt>が追加されます。</dd>
<dt>WORKSPACE</dt>
<dd>ワークスペースの絶対パス。</dd>
<dt>HUDSON_URL</dt>
<dd>HudsonのURL。例 <tt>http://server:port/hudson/</tt></dd>
<dt>SVN_REVISION</dt>
<dd>Subversionを使用するプロジェクトにおける、モジュールのリビジョン番号。</dd>
<dt>CVS_BRANCH</dt>
<dd>CVSを使用するプロジェクトにおける、モジュールのブランチ。
CVSがトランクをチェックアウトする場合は設定されません。</dd>
</dl>
<p>
Hudsonが提供する環境変数のAntでの利用方法については、
次のtargetを参考にしてください。
<pre><xmp
><target name="printinfo">
<property environment="env" />
<echo message="${env.BUILD_TAG}"/>
</target></xmp></pre>
</body>
</html>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册