Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3322 from suren-jenkins/suren-zh
Add Chinese translation
- Loading branch information
Showing
8 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
war/src/main/webapp/help/project-config/block-downstream-building_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
该选项勾选后,当有子工程在排队或者构建时Jenkins将会阻塞该工程的构建。子工程包括直接和间接的。 | ||
</div> |
23 changes: 23 additions & 0 deletions
23
war/src/main/webapp/help/project-config/custom-workspace_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div> | ||
Jenkins 会为每项任务分配一个独立的“工作区目录”。这个目录会被用来检出代码并执行构建的。 | ||
一般情况下您应该让Jenkins分配及清除工作区目录,但在某些情况下这是有问题的, | ||
在这些情况下,此选项可以让您手动设定工作区目录 | ||
|
||
<p> | ||
一种可能的情况是您的代码中的路径是写死的,只能在特定位置才能构建。 | ||
毋庸置疑的这种构建一点儿也不妙,但是这个选项是能让您继续进行下去。 | ||
|
||
<p> | ||
另一种适用情况是当您适用项目类型不执行软件构建,但执行某个批处理任务,或许是作为cron的替代。 | ||
在这种情况下,您可以适用此选项将相关目录映射为工作区,以便人们可以通过Jenkins网页查看文件。 | ||
您执行相关命令也可以更轻松。 | ||
|
||
<p> | ||
如果您处于分布式构建环境中,除非将任务绑定到特定节点,否则Jenkins可能会将作业分配到不同的节点。 | ||
有时这是可取的,有时这是不可取的。另外,您可以将多个项目映射到同一工作区,但是如果这样做,请确保 | ||
项目同时执行时彼此不会有干扰。 | ||
|
||
<p> | ||
如果使用相对路径,在节点上会从远端档案系统根目录开始算起; | ||
在Master上则从<code>$JENKINS_HOME</code> 开始。 | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
该描述会在构建页面的顶部显示,以便让大家了解构建的内容。你可以使用任意HTML标签(或者配置好的标记语言)。 | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
设置后会替换默认的"#NNN",并指向当前构建。设置为空则显示默认的。 | ||
</div> |
4 changes: 4 additions & 0 deletions
4
war/src/main/webapp/help/system-config/master-slave/clock_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div> | ||
对于一个构建任务来说,很多时候是对时钟敏感的。因此,如果Jenkins和运行构建的节点上时钟不一致的话,可能会引起诡异的问题。 | ||
可以考虑利用NTP来同步时钟。 | ||
</div> |
3 changes: 3 additions & 0 deletions
3
war/src/main/webapp/help/system-config/master-slave/demand/keepUpWhenActive_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
如果勾选,如果该节点上还有构建任务,即使该已经计划要下线,Jenkins还会等构建结束后再使之下线。 | ||
</div> |
15 changes: 15 additions & 0 deletions
15
war/src/main/webapp/help/system-config/master-slave/jnlp-tunnel_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div> | ||
当从节点通过JNLP启动后,节点会尝试与Jenkins指定的TCP端口连接,作为通讯通道。 | ||
但某些对安全敏感的网络可能会阻止该连接。 | ||
当Jenkins在一个负载均衡环境中运行时,也是有可能发生的,通过 | ||
<a href="http://www.serverwatch.com/tutorials/article.php/3290851">apache 反向代理</a> | ||
到 <a href="http://en.wikipedia.org/wiki/Demilitarized_zone_(computing)">DMZ</a> 等等。 | ||
|
||
<p> | ||
该通道选项,允许你指定其他的主机(或者端口),这对以上情况是很有用的。该字段的格式可以是"<tt>HOST:PORT</tt>", "<tt>:PORT</tt>", | ||
或者"<tt>HOST:</tt>"。第一种格式下,JNLP 代理会连接指定的主机和端口,并且假设已经配置好了网络。 | ||
|
||
<p> | ||
后面的两种格式,使用默认的主机名和端口号(主机名是Jenkins所运行的主机,TCP端口是Jenkins打开的端口)。在特殊情况下,<tt>HOST:</tt> format | ||
这种格式是当Jenkins运行在反向代理环境下。 | ||
</div> |
42 changes: 42 additions & 0 deletions
42
war/src/main/webapp/help/system-config/master-slave/jnlpSecurity_zh_CN.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<div> | ||
控制 Jenkins 如何允许通过JNLP启动。 | ||
|
||
<dl> | ||
<dt><b> | ||
只能由“节点”页面启动。安全性启用时需要登录。 | ||
</b></dt> | ||
<dd> | ||
<em>这是预设也是最常用的设定。</em> | ||
该模式下,Jenkins会在节点页面里显示JNLP启动链接。 | ||
在启用安全性的情况下,只有验证通过的用户才能看到链接。 | ||
</dd> | ||
|
||
<dt><b> | ||
由页面启动。如果启用安全设置的话需要登录。 | ||
</b></dt> | ||
<dd> | ||
此模式下,Jenkins提供JNLP的启动链接在节点界面和执行状态侧栏。 | ||
如果启用安全设置,只有验证通过的用户才能看到链接。 | ||
</dd> | ||
|
||
<dt><b> | ||
只能通过节点界面启动,永远不要求登录。 | ||
</b></dt> | ||
<dd> | ||
此模式下,Jenkins会在节点页面里显示JNLP启动链接。 | ||
不管节点是否离线都会显示链接。 | ||
<br /> | ||
<b>警告!</b> 这个模式是不安全性。所以节点可以被 <em> 任何能访问该服务器的人 </em>启动。 | ||
从节点可以在主节点上执行任意代码。 <b>不要使用该选项,除非你对风险很清楚</b> | ||
</dd> | ||
|
||
<!--dt><b> | ||
由页面启动。不需要登录。 | ||
</b></dt> | ||
<dd> | ||
此模式下,Jenkins在节点页面和执行状态册栏提供JNLP启动链接。 | ||
不管节点是否在线都会显示该链接。 | ||
</dd--> | ||
|
||
</dl> | ||
</div> |