From 7d8dcaad78274fede3bc3c7478bf2f33db325b89 Mon Sep 17 00:00:00 2001 From: surenpi Date: Sat, 3 Mar 2018 23:02:13 +0800 Subject: [PATCH] Add Chinese translation --- .../block-downstream-building_zh_CN.html | 3 ++ .../custom-workspace_zh_CN.html | 23 ++++++++++ .../help/run-config/description_zh_CN.html | 3 ++ .../help/run-config/displayName_zh_CN.html | 3 ++ .../master-slave/clock_zh_CN.html | 4 ++ .../demand/keepUpWhenActive_zh_CN.html | 3 ++ .../master-slave/jnlp-tunnel_zh_CN.html | 15 +++++++ .../master-slave/jnlpSecurity_zh_CN.html | 42 +++++++++++++++++++ 8 files changed, 96 insertions(+) create mode 100644 war/src/main/webapp/help/project-config/block-downstream-building_zh_CN.html create mode 100644 war/src/main/webapp/help/project-config/custom-workspace_zh_CN.html create mode 100644 war/src/main/webapp/help/run-config/description_zh_CN.html create mode 100644 war/src/main/webapp/help/run-config/displayName_zh_CN.html create mode 100644 war/src/main/webapp/help/system-config/master-slave/clock_zh_CN.html create mode 100644 war/src/main/webapp/help/system-config/master-slave/demand/keepUpWhenActive_zh_CN.html create mode 100644 war/src/main/webapp/help/system-config/master-slave/jnlp-tunnel_zh_CN.html create mode 100644 war/src/main/webapp/help/system-config/master-slave/jnlpSecurity_zh_CN.html diff --git a/war/src/main/webapp/help/project-config/block-downstream-building_zh_CN.html b/war/src/main/webapp/help/project-config/block-downstream-building_zh_CN.html new file mode 100644 index 0000000000..08c696634c --- /dev/null +++ b/war/src/main/webapp/help/project-config/block-downstream-building_zh_CN.html @@ -0,0 +1,3 @@ +
+ 该选项勾选后,当有子工程在排队或者构建时Jenkins将会阻塞该工程的构建。子工程包括直接和间接的。 +
diff --git a/war/src/main/webapp/help/project-config/custom-workspace_zh_CN.html b/war/src/main/webapp/help/project-config/custom-workspace_zh_CN.html new file mode 100644 index 0000000000..1fd084b556 --- /dev/null +++ b/war/src/main/webapp/help/project-config/custom-workspace_zh_CN.html @@ -0,0 +1,23 @@ +
+ Jenkins 会为每项任务分配一个独立的“工作区目录”。这个目录会被用来检出代码并执行构建的。 + 一般情况下您应该让Jenkins分配及清除工作区目录,但在某些情况下这是有问题的, + 在这些情况下,此选项可以让您手动设定工作区目录 + +

+ 一种可能的情况是您的代码中的路径是写死的,只能在特定位置才能构建。 + 毋庸置疑的这种构建一点儿也不妙,但是这个选项是能让您继续进行下去。 + +

+ 另一种适用情况是当您适用项目类型不执行软件构建,但执行某个批处理任务,或许是作为cron的替代。 + 在这种情况下,您可以适用此选项将相关目录映射为工作区,以便人们可以通过Jenkins网页查看文件。 + 您执行相关命令也可以更轻松。 + +

+ 如果您处于分布式构建环境中,除非将任务绑定到特定节点,否则Jenkins可能会将作业分配到不同的节点。 + 有时这是可取的,有时这是不可取的。另外,您可以将多个项目映射到同一工作区,但是如果这样做,请确保 + 项目同时执行时彼此不会有干扰。 + +

+ 如果使用相对路径,在节点上会从远端档案系统根目录开始算起; + 在Master上则从$JENKINS_HOME 开始。 +

\ No newline at end of file diff --git a/war/src/main/webapp/help/run-config/description_zh_CN.html b/war/src/main/webapp/help/run-config/description_zh_CN.html new file mode 100644 index 0000000000..0f2b15bdf4 --- /dev/null +++ b/war/src/main/webapp/help/run-config/description_zh_CN.html @@ -0,0 +1,3 @@ +
+ 该描述会在构建页面的顶部显示,以便让大家了解构建的内容。你可以使用任意HTML标签(或者配置好的标记语言)。 +
diff --git a/war/src/main/webapp/help/run-config/displayName_zh_CN.html b/war/src/main/webapp/help/run-config/displayName_zh_CN.html new file mode 100644 index 0000000000..5b28f02d05 --- /dev/null +++ b/war/src/main/webapp/help/run-config/displayName_zh_CN.html @@ -0,0 +1,3 @@ +
+ 设置后会替换默认的"#NNN",并指向当前构建。设置为空则显示默认的。 +
\ No newline at end of file diff --git a/war/src/main/webapp/help/system-config/master-slave/clock_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/clock_zh_CN.html new file mode 100644 index 0000000000..965cf9c448 --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/clock_zh_CN.html @@ -0,0 +1,4 @@ +
+ 对于一个构建任务来说,很多时候是对时钟敏感的。因此,如果Jenkins和运行构建的节点上时钟不一致的话,可能会引起诡异的问题。 + 可以考虑利用NTP来同步时钟。 +
diff --git a/war/src/main/webapp/help/system-config/master-slave/demand/keepUpWhenActive_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/demand/keepUpWhenActive_zh_CN.html new file mode 100644 index 0000000000..8b1f9a82eb --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/demand/keepUpWhenActive_zh_CN.html @@ -0,0 +1,3 @@ +
+ 如果勾选,如果该节点上还有构建任务,即使该已经计划要下线,Jenkins还会等构建结束后再使之下线。 +
diff --git a/war/src/main/webapp/help/system-config/master-slave/jnlp-tunnel_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/jnlp-tunnel_zh_CN.html new file mode 100644 index 0000000000..514835865c --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/jnlp-tunnel_zh_CN.html @@ -0,0 +1,15 @@ +
+ 当从节点通过JNLP启动后,节点会尝试与Jenkins指定的TCP端口连接,作为通讯通道。 + 但某些对安全敏感的网络可能会阻止该连接。 + 当Jenkins在一个负载均衡环境中运行时,也是有可能发生的,通过 + apache 反向代理 + 到 DMZ 等等。 + +

+ 该通道选项,允许你指定其他的主机(或者端口),这对以上情况是很有用的。该字段的格式可以是"HOST:PORT", ":PORT", + 或者"HOST:"。第一种格式下,JNLP 代理会连接指定的主机和端口,并且假设已经配置好了网络。 + +

+ 后面的两种格式,使用默认的主机名和端口号(主机名是Jenkins所运行的主机,TCP端口是Jenkins打开的端口)。在特殊情况下,HOST: format + 这种格式是当Jenkins运行在反向代理环境下。 +

\ No newline at end of file diff --git a/war/src/main/webapp/help/system-config/master-slave/jnlpSecurity_zh_CN.html b/war/src/main/webapp/help/system-config/master-slave/jnlpSecurity_zh_CN.html new file mode 100644 index 0000000000..ee0a2d4bed --- /dev/null +++ b/war/src/main/webapp/help/system-config/master-slave/jnlpSecurity_zh_CN.html @@ -0,0 +1,42 @@ +
+ 控制 Jenkins 如何允许通过JNLP启动。 + +
+
+ 只能由“节点”页面启动。安全性启用时需要登录。 +
+
+ 这是预设也是最常用的设定。 + 该模式下,Jenkins会在节点页面里显示JNLP启动链接。 + 在启用安全性的情况下,只有验证通过的用户才能看到链接。 +
+ +
+ 由页面启动。如果启用安全设置的话需要登录。 +
+
+ 此模式下,Jenkins提供JNLP的启动链接在节点界面和执行状态侧栏。 + 如果启用安全设置,只有验证通过的用户才能看到链接。 +
+ +
+ 只能通过节点界面启动,永远不要求登录。 +
+
+ 此模式下,Jenkins会在节点页面里显示JNLP启动链接。 + 不管节点是否离线都会显示链接。 +
+ 警告! 这个模式是不安全性。所以节点可以被 任何能访问该服务器的人 启动。 + 从节点可以在主节点上执行任意代码。 不要使用该选项,除非你对风险很清楚 +
+ + + +
+
\ No newline at end of file -- GitLab