提交 34a2479e 编写于 作者: S sogabe

Japoanese l10N

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9217 71c3de6d-444a-0410-be80-ed276b4c234a
上级 73edc6f5
<div>
<!-- TODO:誰か訳して -->
Runs a shell script (defaults to <tt>sh</tt>, but this configurable) for building the project.
The script will be run with the workspace as the current directory. Type in the contents of your shell
script, but without a header like <tt>#!/bin/sh</tt> &mdash; that is added by Hudson, where the
path of the shell is configured globally.
プロジェクトのビルドに、シェルスクリプト(デフォルトは<tt>sh</tt>ですが、設定可能です)を起動します。
シェルスクリプトは、ワークスペースをカレントディレクトリとして起動します。
Hudsonが付与する<tt>#!/bin/sh</tt>(シェルのパスは管理画面で設定する)のようなヘッダは除いて、
シェルスクリプトの内容を記述してください。
<p>
The shell will be invoked with the "-ex" option. So all of the commands are printed before being executed,
and the build is considered a failure if any of the commands exits with a non-zero exit code.
シェルは、"-ex"オプションを付けて起動され、実行前に全てのコマンドが表示されます。
そして、0以外の終了コードで終了した場合、ビルドが失敗したと判断します。
<p>
As a best practice, try not to put a long shell script in here. Instead, consider adding the shell script
in SCM and simply call that shell script from Hudson, so that you can track changes in your shell script.
ベストプラクティスとして、ここに長いシェルを記述しようとはしないで、代わりに、
シェルスクリプトをSCMに追加して、Hudsonからそのシェルスクリプトを起動することを検討してください。
そうすれば、シェルスクリプトの変更も管理できます。
</div>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册