Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
5a24186d
J
jenkins
项目概览
LinuxSuRen
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
5a24186d
编写于
1月 08, 2018
作者:
J
Jesse Glick
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into whitelist-JENKINS-47736
上级
dbc8b71f
d6ff7647
变更
28
隐藏空白更改
内联
并排
Showing
28 changed file
with
327 addition
and
32 deletion
+327
-32
cli/pom.xml
cli/pom.xml
+1
-1
core/pom.xml
core/pom.xml
+1
-1
core/src/main/java/hudson/Util.java
core/src/main/java/hudson/Util.java
+1
-1
core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
...ava/hudson/init/impl/InstallUncaughtExceptionHandler.java
+15
-8
core/src/main/java/hudson/model/Queue.java
core/src/main/java/hudson/model/Queue.java
+2
-2
core/src/main/java/hudson/util/TextFile.java
core/src/main/java/hudson/util/TextFile.java
+2
-1
core/src/main/java/jenkins/model/NewViewLink.java
core/src/main/java/jenkins/model/NewViewLink.java
+6
-1
core/src/main/resources/hudson/model/Messages_zh_CN.properties
...src/main/resources/hudson/model/Messages_zh_CN.properties
+5
-0
core/src/main/resources/hudson/model/View/newJob.jelly
core/src/main/resources/hudson/model/View/newJob.jelly
+1
-1
core/src/main/resources/hudson/model/View/newJob.properties
core/src/main/resources/hudson/model/View/newJob.properties
+1
-1
core/src/main/resources/hudson/model/View/newJob_bg.properties
...src/main/resources/hudson/model/View/newJob_bg.properties
+2
-2
core/src/main/resources/hudson/model/View/newJob_fr.properties
...src/main/resources/hudson/model/View/newJob_fr.properties
+2
-2
core/src/main/resources/hudson/model/View/newJob_lt.properties
...src/main/resources/hudson/model/View/newJob_lt.properties
+1
-1
core/src/main/resources/hudson/model/View/newJob_pl.properties
...src/main/resources/hudson/model/View/newJob_pl.properties
+1
-1
core/src/main/resources/hudson/model/View/newJob_sr.properties
...src/main/resources/hudson/model/View/newJob_sr.properties
+1
-1
core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/firstUser_zh_CN.properties
...ity/HudsonPrivateSecurityRealm/firstUser_zh_CN.properties
+23
-0
core/src/main/resources/jenkins/install/SetupWizard/authenticate-security-token_zh_CN.properties
.../SetupWizard/authenticate-security-token_zh_CN.properties
+32
-0
core/src/main/resources/jenkins/install/SetupWizard/proxy-configuration_zh_CN.properties
.../install/SetupWizard/proxy-configuration_zh_CN.properties
+24
-0
core/src/main/resources/jenkins/install/SetupWizard/setupWizardFirstUser_zh_CN.properties
...install/SetupWizard/setupWizardFirstUser_zh_CN.properties
+24
-0
core/src/main/resources/jenkins/install/UpgradeWizard/client-scripts_zh_CN.properties
...ins/install/UpgradeWizard/client-scripts_zh_CN.properties
+26
-0
core/src/main/resources/jenkins/install/pluginSetupWizard_zh_CN.properties
...ources/jenkins/install/pluginSetupWizard_zh_CN.properties
+98
-0
core/src/main/resources/jenkins/model/Jenkins/loginError_zh_CN.properties
...sources/jenkins/model/Jenkins/loginError_zh_CN.properties
+4
-1
core/src/main/resources/lib/hudson/project/console-link_zh_CN.properties
...esources/lib/hudson/project/console-link_zh_CN.properties
+24
-0
core/src/test/java/jenkins/model/NewViewLinkTest.java
core/src/test/java/jenkins/model/NewViewLinkTest.java
+26
-3
pom.xml
pom.xml
+1
-1
test/pom.xml
test/pom.xml
+1
-1
war/pom.xml
war/pom.xml
+1
-1
war/src/main/webapp/help/parameter/trim_zh_CN.html
war/src/main/webapp/help/parameter/trim_zh_CN.html
+1
-1
未找到文件。
cli/pom.xml
浏览文件 @
5a24186d
...
...
@@ -5,7 +5,7 @@
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
2.10
1
-SNAPSHOT
</version>
<version>
2.10
2
-SNAPSHOT
</version>
</parent>
<artifactId>
cli
</artifactId>
...
...
core/pom.xml
浏览文件 @
5a24186d
...
...
@@ -29,7 +29,7 @@ THE SOFTWARE.
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
2.10
1
-SNAPSHOT
</version>
<version>
2.10
2
-SNAPSHOT
</version>
</parent>
<artifactId>
jenkins-core
</artifactId>
...
...
core/src/main/java/hudson/Util.java
浏览文件 @
5a24186d
...
...
@@ -193,7 +193,7 @@ public class Util {
StringBuilder
str
=
new
StringBuilder
((
int
)
logfile
.
length
());
try
(
BufferedReader
r
=
new
BufferedReader
(
new
InputStreamReader
(
Files
.
newInputStream
(
logfile
.
toPath
()),
charset
)
))
{
try
(
BufferedReader
r
=
Files
.
newBufferedReader
(
logfile
.
toPath
(),
charset
))
{
char
[]
buf
=
new
char
[
1024
];
int
len
;
while
((
len
=
r
.
read
(
buf
,
0
,
buf
.
length
))
>
0
)
...
...
core/src/main/java/hudson/init/impl/InstallUncaughtExceptionHandler.java
浏览文件 @
5a24186d
package
hudson.init.impl
;
import
hudson.init.Initializer
;
import
java.io.EOFException
;
import
jenkins.model.Jenkins
;
import
org.kohsuke.stapler.WebApp
;
import
org.kohsuke.stapler.compression.CompressionFilter
;
...
...
@@ -17,7 +18,7 @@ import java.util.logging.Logger;
import
org.kohsuke.stapler.Stapler
;
/**
*
@author Kohsuke Kawaguchi
*
Deals with exceptions that get thrown all the way up to the Stapler rendering layer.
*/
public
class
InstallUncaughtExceptionHandler
{
...
...
@@ -25,23 +26,19 @@ public class InstallUncaughtExceptionHandler {
@Initializer
public
static
void
init
(
final
Jenkins
j
)
throws
IOException
{
CompressionFilter
.
setUncaughtExceptionHandler
(
j
.
servletContext
,
new
UncaughtExceptionHandler
()
{
@Override
public
void
reportException
(
Throwable
e
,
ServletContext
context
,
HttpServletRequest
req
,
HttpServletResponse
rsp
)
throws
ServletException
,
IOException
{
CompressionFilter
.
setUncaughtExceptionHandler
(
j
.
servletContext
,
(
e
,
context
,
req
,
rsp
)
->
{
if
(
rsp
.
isCommitted
())
{
LOGGER
.
log
(
Level
.
WARNING
,
null
,
e
);
LOGGER
.
log
(
isEOFException
(
e
)
?
Level
.
FINE
:
Level
.
WARNING
,
null
,
e
);
return
;
}
req
.
setAttribute
(
"javax.servlet.error.exception"
,
e
);
try
{
WebApp
.
get
(
j
.
servletContext
).
getSomeStapler
()
.
invoke
(
req
,
rsp
,
Jenkins
.
getInstance
(),
"/oops"
);
WebApp
.
get
(
j
.
servletContext
).
getSomeStapler
().
invoke
(
req
,
rsp
,
Jenkins
.
get
(),
"/oops"
);
}
catch
(
ServletException
|
IOException
x
)
{
if
(!
Stapler
.
isSocketException
(
x
))
{
throw
x
;
}
}
}
});
try
{
Thread
.
setDefaultUncaughtExceptionHandler
(
new
DefaultUncaughtExceptionHandler
());
...
...
@@ -57,6 +54,16 @@ public class InstallUncaughtExceptionHandler {
}
}
private
static
boolean
isEOFException
(
Throwable
e
)
{
if
(
e
==
null
)
{
return
false
;
}
else
if
(
e
instanceof
EOFException
)
{
return
true
;
}
else
{
return
isEOFException
(
e
.
getCause
());
}
}
/** An UncaughtExceptionHandler that just logs the exception */
private
static
class
DefaultUncaughtExceptionHandler
implements
Thread
.
UncaughtExceptionHandler
{
...
...
core/src/main/java/hudson/model/Queue.java
浏览文件 @
5a24186d
...
...
@@ -76,8 +76,8 @@ import hudson.util.ConsistentHash.Hash;
import
java.io.BufferedReader
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.InputStreamReader
;
import
java.lang.ref.WeakReference
;
import
java.nio.charset.Charset
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Calendar
;
...
...
@@ -377,7 +377,7 @@ public class Queue extends ResourceController implements Saveable {
// first try the old format
File
queueFile
=
getQueueFile
();
if
(
queueFile
.
exists
())
{
try
(
BufferedReader
in
=
new
BufferedReader
(
new
InputStreamReader
(
Files
.
newInputStream
(
queueFile
.
toPath
())
)))
{
try
(
BufferedReader
in
=
Files
.
newBufferedReader
(
queueFile
.
toPath
(),
Charset
.
defaultCharset
(
)))
{
String
line
;
while
((
line
=
in
.
readLine
())
!=
null
)
{
AbstractProject
j
=
Jenkins
.
getInstance
().
getItemByFullName
(
line
,
AbstractProject
.
class
);
...
...
core/src/main/java/hudson/util/TextFile.java
浏览文件 @
5a24186d
...
...
@@ -38,6 +38,7 @@ import java.io.RandomAccessFile;
import
java.io.Reader
;
import
java.io.StringWriter
;
import
java.nio.charset.Charset
;
import
java.nio.charset.StandardCharsets
;
import
java.util.Iterator
;
/**
...
...
@@ -68,7 +69,7 @@ public class TextFile {
public
String
read
()
throws
IOException
{
StringWriter
out
=
new
StringWriter
();
PrintWriter
w
=
new
PrintWriter
(
out
);
try
(
BufferedReader
in
=
new
BufferedReader
(
new
InputStreamReader
(
Files
.
newInputStream
(
file
.
toPath
()),
"UTF-8"
)
))
{
try
(
BufferedReader
in
=
Files
.
newBufferedReader
(
file
.
toPath
(),
StandardCharsets
.
UTF_8
))
{
String
line
;
while
((
line
=
in
.
readLine
())
!=
null
)
w
.
println
(
line
);
...
...
core/src/main/java/jenkins/model/NewViewLink.java
浏览文件 @
5a24186d
...
...
@@ -8,7 +8,11 @@ import hudson.model.View;
import
java.util.Collections
;
import
java.util.List
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.DoNotUse
;
@Extension
@Restricted
(
DoNotUse
.
class
)
public
class
NewViewLink
extends
TransientViewActionFactory
{
@VisibleForTesting
...
...
@@ -40,7 +44,8 @@ public class NewViewLink extends TransientViewActionFactory {
@Override
public
String
getUrlName
()
{
return
URL_NAME
;
String
urlName
=
Jenkins
.
getInstance
().
getRootUrl
()
+
URL_NAME
;
return
urlName
;
}
private
boolean
hasPermission
(
View
view
)
{
...
...
core/src/main/resources/hudson/model/Messages_zh_CN.properties
浏览文件 @
5a24186d
...
...
@@ -55,6 +55,11 @@ Node.Mode.EXCLUSIVE=\u53EA\u5141\u8BB8\u8FD0\u884C\u7ED1\u5B9A\u5230\u8FD9\u53F0
MyView.DisplayName
=
\u6211\u7684\u
89C6
\u
56FE
AbstractItem.Pronoun
=
\u
4EFB
\u
52A1
MyViewsProperty.DisplayName
=
\u6211\u7684\u
89C6
\u
56FE
MyViewsProperty.GlobalAction.DisplayName
=
\u6211\u7684\u
89C6
\u
56FE
ManageJenkinsAction.DisplayName
=
\u
7CFB
\u
7EDF
\u
7BA1
\u7406
ParametersDefinitionProperty.DisplayName
=
\u
53C2
\u6570\u5316\u6784\u
5EFA
\u
8FC7
\u
7A0B
ListView.DisplayName
=
\u
7B80
\u5355\u
89C6
\u
56FE
...
...
core/src/main/resources/hudson/model/View/newJob.jelly
浏览文件 @
5a24186d
...
...
@@ -51,7 +51,7 @@ THE SOFTWARE.
<j:if test="${!empty(app.itemMap)}">
<div class="item-copy">
<p class="description">${%CopyOption.description}
:
</p>
<p class="description">${%CopyOption.description}</p>
<div class="add-item-copy">
<input type="radio" name="mode" value="copy" />
<div class="icon">
...
...
core/src/main/resources/hudson/model/View/newJob.properties
浏览文件 @
5a24186d
...
...
@@ -5,7 +5,7 @@ ItemName.label=Enter an item name
ItemName.validation.required
=
This field cannot be empty, please enter a valid name
ItemType.validation.required
=
Please select an item type
CopyOption.placeholder
=
Type to autocomplete
CopyOption.description
=
if you want to create a new item from other existing, you can use this option
CopyOption.description
=
If you want to create a new item from other existing, you can use this option:
CopyOption.label
=
Copy from
CopyExisting
=
Copy existing {0}
core/src/main/resources/hudson/model/View/newJob_bg.properties
浏览文件 @
5a24186d
...
...
@@ -30,9 +30,9 @@ NewJob=\
# This field cannot be empty, please enter a valid name
ItemName.validation.required
=
\
\u
041f
\u
043e
\u
043b
\u0435\u0442\u
043e
\u
043d
\u0435
\u
043c
\u
043e
\u0436\u0435
\u0434\u0430
\u0435
\u
043f
\u0440\u0430\u0437\u
043d
\u
043e.
\u0412\u
044a
\u0432\u0435\u0434\u0435\u0442\u0435
\u
043a
\u
043e
\u0440\u0435\u
043a
\u0442\u
043d
\u
043e
\u0438\u
043c
\u0435
#
if you want to create a new item from other existing, you can use this option
#
If you want to create a new item from other existing, you can use this option:
CopyOption.description
=
\
\u0422\u
043e
\u0432\u0430
\u
043f
\u
043e
\u0437\u0432\u
043e
\u
043b
\u
044f
\u0432\u0430
\u0434\u0430
\u0441\u
044a
\u0437\u0434\u0430\u0434\u0435\u0442\u0435
\u
043d
\u
043e
\u0432
\u
043e
\u0431\u0435\u
043a
\u0442
\u
043d
\u0430
\u0431\u0430\u0437\u0430\u0442\u0430
\u
043d
\u0430
\u0441\u
044a
\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430\u0449
.
\u0422\u
043e
\u0432\u0430
\u
043f
\u
043e
\u0437\u0432\u
043e
\u
043b
\u
044f
\u0432\u0430
\u0434\u0430
\u0441\u
044a
\u0437\u0434\u0430\u0434\u0435\u0442\u0435
\u
043d
\u
043e
\u0432
\u
043e
\u0431\u0435\u
043a
\u0442
\u
043d
\u0430
\u0431\u0430\u0437\u0430\u0442\u0430
\u
043d
\u0430
\u0441\u
044a
\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430\u0449
:
# Please select an item type
ItemType.validation.required
=
\
\u0412\u
044a
\u0432\u0435\u0434\u0435\u0442\u0435
\u0432\u0438\u0434
\u
043d
\u0430
\u
043e
\u0431\u0435\u
043a
\u0442\u0430
...
...
core/src/main/resources/hudson/model/View/newJob_fr.properties
浏览文件 @
5a24186d
...
...
@@ -26,7 +26,7 @@ CopyExisting=Copier un {0} existant
ItemName.help
=
Champ obligatoire
ItemName.label
=
Saisissez un nom
ItemName.validation.required
=
Ce champ ne peut pas
\u
00eatre vide. Veuillez saisir un nom valide et appuyer sur OK.
ItemType.validation.required
=
Veuillez choisir un type d
\
'
Item
ItemType.validation.required
=
Veuillez choisir un type d
\
u2019\u
00e9l
\u
00e9ment
CopyOption.placeholder
=
Taper pour autocompl
\u
00e9tion
CopyOption.description
=
Si vous voulez cr
\u
00e9er un nouvel
item
\u
00e0 partir d
\'
un autre, vous pouvez utiliser cette option
CopyOption.description
=
Si vous voulez cr
\u
00e9er un nouvel
\u
00e9l
\u
00e9ment
\u
00e0 partir d
\u2019
un autre, vous pouvez utiliser cette option :
CopyOption.label
=
Copier depuis
core/src/main/resources/hudson/model/View/newJob_lt.properties
浏览文件 @
5a24186d
...
...
@@ -5,7 +5,7 @@ ItemName.label=\u012eveskite elemento pavadinim\u0105
ItemName.validation.required
=
\u0160
is laukas negali b
\u
016bti tu
\u0161\u
010dias. Pra
\u0161
ome
\u
012fvesti tinkam
\u0105
pavadinim
\u0105
ir spauskite mygtuk
\u0105
\u
201eGerai
\u
201c.
ItemType.validation.required
=
Pra
\u0161
ome parinkti elemento tip
\u0105
CopyOption.placeholder
=
Ra
\u0161
ykite automatiniam u
\u
017ebaigimui
CopyOption.description
=
galite naudoti
\u0161
i
\u0105
parinkt
\u
012f, jei norite sukurti nauj
\u0105
element
\u0105
pagal kit
\u0105
, jau egzistuojant
\u
012f
CopyOption.description
=
galite naudoti
\u0161
i
\u0105
parinkt
\u
012f, jei norite sukurti nauj
\u0105
element
\u0105
pagal kit
\u0105
, jau egzistuojant
\u
012f
:
CopyOption.label
=
Kopijuoti i
\u0161
CopyExisting
=
Kopijuoti esam
\u0105
{0}
core/src/main/resources/hudson/model/View/newJob_pl.properties
浏览文件 @
5a24186d
...
...
@@ -26,5 +26,5 @@ ItemName.label=Podaj nazw\u0119 projektu
ItemName.validation.required
=
To pole nie mo
\u
017Ce by
\u0107
puste, podaj nazw
\u0119
projektu
ItemType.validation.required
=
Wybierz rodzaj projektu
CopyOption.placeholder
=
Podaj nazw
\u0119
CopyOption.description
=
Je
\u
015Bli chcesz stworzy
\u0107
nowy projekt na podstawie istniej
\u0105
cego, mo
\u
017Cesz u
\u
017Cy
\u0107
tej opcji
CopyOption.description
=
Je
\u
015Bli chcesz stworzy
\u0107
nowy projekt na podstawie istniej
\u0105
cego, mo
\u
017Cesz u
\u
017Cy
\u0107
tej opcji
:
CopyOption.label
=
Kopiuj z
core/src/main/resources/hudson/model/View/newJob_sr.properties
浏览文件 @
5a24186d
...
...
@@ -5,7 +5,7 @@ ItemName.label=\u0423\u043D\u0435\u0441\u0438\u0442\u0435 \u0438\u043C\u0435 \u0
ItemName.help
=
\u
041E
\u0431\u0430\u0432\u0435\u0437\u
043D
\u
043E
\u
043F
\u
043E
\u0459\u0435
ItemName.validation.required
=
\u
041F
\u
043E
\u0459\u0435
\u
043D
\u0435
\u
043C
\u
043E
\u0436\u0435
\u0431\u0438\u0442\u0438
\u
043F
\u0440\u0430\u0437\u
043D
\u
043E.
\u0423\u
043D
\u0435\u0441\u0438\u0442\u0435
\u0432\u0430\u0436\u0435\u
045B
\u0435
\u0438\u
043C
\u0435
.
ItemType.validation.required
=
\u0423\u
043D
\u0435\u0441\u0438\u0442\u0435
\u0442\u0438\u
043F
\u
043E
\u0431\u0458\u0435\u
043A
\u0442\u0430
CopyOption.description
=
\u
043E
\u0432\u
043E
\u0432\u0430\u
043C
\u
043E
\u
043C
\u
043E
\u0433\u0443\u
045B
\u0430\u0432\u0430
\u0434\u0430
\u
043A
\u0440\u0435\u0438\u0440\u0430\u0442\u0435
\u
043D
\u
043E
\u0432\u0438
\u
043E
\u0431\u0458\u0435\u
043A
\u0430\u0442
\u
043D
\u0430
\u
043E
\u0441\u
043D
\u
043E
\u0432\u0443
\u
043F
\u
043E
\u0441\u0442\u
043E
\u0458\u0435\u
045B
\u0435\u0433
.
CopyOption.description
=
\u
043E
\u0432\u
043E
\u0432\u0430\u
043C
\u
043E
\u
043C
\u
043E
\u0433\u0443\u
045B
\u0430\u0432\u0430
\u0434\u0430
\u
043A
\u0440\u0435\u0438\u0440\u0430\u0442\u0435
\u
043D
\u
043E
\u0432\u0438
\u
043E
\u0431\u0458\u0435\u
043A
\u0430\u0442
\u
043D
\u0430
\u
043E
\u0441\u
043D
\u
043E
\u0432\u0443
\u
043F
\u
043E
\u0441\u0442\u
043E
\u0458\u0435\u
045B
\u0435\u0433
.
:
CopyOption.label
=
\u
041A
\u
043E
\u
043F
\u0438\u0440\u0430\u0458
\u
043E
\u0434
CopyOption.placeholder
=
\u0423\u
043D
\u0435\u0448\u0435\u
043D
\u
043E
\u0438\u
043C
\u0435
\u
045B
\u0435
\u0441\u0435
\u0430\u0443\u0442\u
043E
\u
043C
\u0430\u0442\u0441\u
043A
\u0438
\u0434\u
043E
\u
043F
\u0438\u0441\u0430\u
043D
\u
043E
JobName
=
\u
041D
\u0430\u0437\u0438\u0432
{0}
...
...
core/src/main/resources/hudson/security/HudsonPrivateSecurityRealm/firstUser_zh_CN.properties
0 → 100644
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2013, Chunghwa Telecom Co., Ltd., Pei-Tang Huang
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Create\
First\
Admin\
User
=
\u
5EFA
\u
7ACB
\u
7B2C
\u
4E00
\u
4E2A
\u
7BA1
\u7406\u5458
core/src/main/resources/jenkins/install/SetupWizard/authenticate-security-token_zh_CN.properties
0 → 100644
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2017-, vivo.com
# Chinese (Simplified) translated by Gentle Yang
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
authenticate-security-token.getting.started
=
\u5165\u
95e8
authenticate-security-token.unlock.jenkins
=
\u
89e3
\u9501
jenkins
jenkins.install.findSecurityTokenMessage
=
\u
4e3a
\u
4e86
\u
786e
\u
4fdd
\u
7ba1
\u7406\u5458\u
5b89
\u5168\u5730\u
5b89
\u
88c5jenkins
\u
ff0c
\
\u
5bc6
\u7801\u
5df2
\u5199\u5165\u5230\u
65e5
\u
5fd7
\u
4e2d
\u
ff08<small><a href="https://jenkins.io/redirect/find-jenkins-logs" target="_blank">
\u
4e0d
\u
77e5
\u9053\u5728\u
54ea
\u
91cc
\u
ff1f</a></small>
\u
ff09
\u
8be5
\u6587\u
4ef6
\u5728\u
670d
\u
52a1
\u5668\u
4e0a
\u
ff1a<p><small><code>{0}</code></small></p>
authenticate-security-token.copy.password
=
\u
8bf7
\u
4ece
\u
672c
\u5730\u
590d
\u5236\u
5bc6
\u7801\u
5e76
\u
7c98
\u
8d34
\u5230\u
4e0b
\u9762\u3002
authenticate-security-token.error
=
\u9519\u
8bef
\u
ff1a
authenticate-security-token.password.incorrect
=
\u
8f93
\u5165\u7684\u
5bc6
\u7801\u6709\u
8bef
\u
ff0c
\u
8bf7
\u
68c0
\u
67e5
\u6587\u
4ef6
\u
4ee5
\u
786e
\u
8ba4
\u
5bc6
\u7801\u
6b63
\u
786e
authenticate-security-token.password.administrator
=
\u
7ba1
\u7406\u5458\u
5bc6
\u7801
authenticate-security-token.continue
=
\u
7ee7
\u
7eed
core/src/main/resources/jenkins/install/SetupWizard/proxy-configuration_zh_CN.properties
0 → 100644
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2017-, vivo.com
# Chinese (Simplified) translated by Gentle Yang
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
HTTP\
Proxy\
Configuration
=
\u
914d
\u
7f6eHTTP
\u
4ee3
\u7406
core/src/main/resources/jenkins/install/SetupWizard/setupWizardFirstUser_zh_CN.properties
0 → 100644
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2017-, vivo.com
# Chinese (Simplified) translated by Gentle Yang
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Create\
First\
Admin\
User
=
\u
521b
\u
5efa
\u
7b2c
\u
4e00
\u
4e2a
\u
7ba1
\u7406\u5458\u7528\u6237
core/src/main/resources/jenkins/install/UpgradeWizard/client-scripts_zh_CN.properties
0 → 100644
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2017-, vivo.com
# Chinese (Simplified) translated by Gentle Yang
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
msg.before
=
\u
6b22
\u
8fce
\u
4f7f
\u7528
jenkins {0}%21
\u0020
msg.link
=
\u
73b0
\u5728\u
66f4
\u
65b0
msg.after
=
\u0020\u
4ee5
\u
83b7
\u
5f97
\u
65b0
\u7279\u6027
core/src/main/resources/jenkins/install/pluginSetupWizard_zh_CN.properties
0 → 100644
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2017-, vivo.com
# Chinese (Simplified) translated by Gentle Yang
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
installWizard_welcomePanel_title
=
\u
65b0
\u
624b
\u5165\u
95e8
installWizard_welcomePanel_banner
=
\u
81ea
\u
5b9a
\u
4e49jenkins
installWizard_welcomePanel_message
=
\u
63d2
\u
4ef6
\u
901a
\u
8fc7
\u9644\u
52a0
\u7279\u6027\u6765\u6269\u
5c55jenkins
\u
4ee5
\u
6ee1
\u
8db3
\u
4e0d
\u
540c
\u7684\u9700\u
6c42
\u3002
installWizard_welcomePanel_recommendedActionTitle
=
\u
5b89
\u
88c5
\u
63a8
\u8350\u7684\u
63d2
\u
4ef6
installWizard_welcomePanel_recommendedActionDetails
=
\u
5b89
\u
88c5jenkins
\u
793e
\u
533a
\u
63a8
\u8350\u7684\u
63d2
\u
4ef6
\u3002
installWizard_welcomePanel_customizeActionTitle
=
\u9009\u
62e9
\u
63d2
\u
4ef6
\u6765\u
5b89
\u
88c5
installWizard_welcomePanel_customizeActionDetails
=
\u9009\u
62e9
\u
5e76
\u
5b89
\u
88c5
\u6700\u9002\u5408\u7684\u
63d2
\u
4ef6
\u3002
installWizard_jenkinsVersionTitle
=
Jenkins
installWizard_offline_title
=
\u
79bb
\u
7ebf
installWizard_offline_message
=
\u
8be5jenkins
\u
5b9e
\u
4f8b
\u
4f3c
\u
4e4e
\u
5df2
\u
79bb
\u
7ebf
\u3002\
<p style="font-size:18px; margin-top: 6%">
\
\u
53c2
\u8003
<a href="https://jenkins.io/redirect/offline-installation" target="_blank">
\u
79bb
\u
7ebfjenkins
\u
5b89
\u
88c5
\u6587\u6863
</a>
\u
4e86
\u
89e3
\u
672a
\u
63a5
\u5165\u
4e92
\u8054\u
7f51
\u
65f6
\u
5b89
\u
88c5jenkins
\u7684\u
66f4
\u
591a
\u
4fe1
\u
606f
\u3002
<br/><br/>
\
\u
53ef
\u
4ee5
\u
901a
\u
8fc7
\u
914d
\u
7f6e
\u
4e00
\u
4e2a
\u
4ee3
\u7406\u6216\u
8df3
\u
8fc7
\u
63d2
\u
4ef6
\u
5b89
\u
88c5
\u6765\u9009\u
62e9
\u
7ee7
\u
7eed
\u3002\
</p>
installWizard_error_header
=
\u
51fa
\u
73b0
\u
4e00
\u
4e2a
\u9519\u
8bef
installWizard_error_message
=
\u
5b89
\u
88c5
\u
8fc7
\u
7a0b
\u
4e2d
\u
51fa
\u
73b0
\u
4e00
\u
4e2a
\u9519\u
8bef
\u
ff1a
installWizard_error_connection
=
\u
65e0
\u
6cd5
\u
8fde
\u
63a5
\u5230
jenkins
installWizard_error_restartNotSupported
=
\u
4e0d
\u
652f
\u6301\u
81ea
\u
52a8
\u
91cd
\u
542f
\u
ff0c
\u
8bf7
\u
624b
\u
52a8
\u
91cd
\u
542f
\u
8be5
\u
5b9e
\u
4f8b
installWizard_installCustom_title
=
\u
65b0
\u
624b
\u5165\u
95e8
installWizard_installCustom_selectAll
=
\u5168\u
90e8
installWizard_installCustom_selectNone
=
None
installWizard_installCustom_selectRecommended
=
\u
5efa
\u
8bae
installWizard_installCustom_selected
=
\u
5df2
\u9009\u
62e9
installWizard_installCustom_dependenciesPrefix
=
\u
4f9d
\u
8d56
installWizard_installCustom_pluginListDesc
=
\u
6ce8
\u
610f
\u
ff0c
\u
8fd9
\u
91cc
\u
5e76
\u
672a
\u
663e
\u
793a
\u
5b8c
\u6574\u7684\u
63d2
\u
4ef6
\u5217\u8868\u3002\u
4e00
\u
65e6
\u
521d
\u
59cb
\u
5b89
\u
88c5
\u
5b8c
\u6210\u
540e
\u
ff0c
\u
53ef
\u
901a
\u
8fc7<strong>
\u
63d2
\u
4ef6
\u
7ba1
\u7406\u5668
</strong>
\u
5b89
\u
88c5
\u5176\u
4ed6
\u
63d2
\u
4ef6
\u3002
<a href="https://jenkins.io/redirect/installation-wizard" target="_blank">
\u
67e5
\u
770bwiki
\u
4e86
\u
89e3
\u
66f4
\u
591a</a>
\u3002
installWizard_goBack
=
\u
540e
\u9000
installWizard_goInstall
=
\u
5b89
\u
88c5
installWizard_installing_title
=
\u
65b0
\u
624b
\u5165\u
95e8
installWizard_installing_detailsLink
=
\u
8be6
\u
60c5
\u3002\u3002\u3002
installWizard_installComplete_title
=
\u
65b0
\u
624b
\u5165\u
95e8
installWizard_installComplete_banner
=
Jenkins
\u
5df2
\u
5c31
\u
7eea
\u
ff01
installWizard_installComplete_bannerRestart
=
Jenkins
\u5373\u
5c06
\u
5c31
\u
7eea
\u
ff01
installWizard_pluginsInstalled_message
=
\u
63d2
\u
4ef6
\u
5b89
\u
88c5
\u
5df2
\u
5b8c
\u6210\u3002
installWizard_installComplete_message
=
jenkins
\u
5b89
\u
88c5
\u
5df2
\u
5b8c
\u6210\u3002
installWizard_installComplete_finishButtonLabel
=
\u
5f00
\u
59cb
\u
4f7f
\u7528
jenkins
installWizard_installComplete_installComplete_restartRequiredMessage
=
jenkins
\u
5b89
\u
88c5
\u
5df2
\u
5b8c
\u6210\u
ff0c
\u
4f46
\u
90e8
\u5206\u
63d2
\u
4ef6
\u9700\u8981\u
91cd
\u
542fjenkins
\u3002
installWizard_installComplete_installComplete_restartRequiredNotSupportedMessage
=
jenkins
\u
5b89
\u
88c5
\u
5df2
\u
5b8c
\u6210\u
ff0c
\u
4f46
\u
90e8
\u5206\u
63d2
\u
4ef6
\u9700\u8981\u
91cd
\u
542fjenkins
\u
ff0c
\u
8be5
\u
5b9e
\u
4f8b
\u
4f3c
\u
4e4e
\u
4e0d
\u
652f
\u6301\u
81ea
\u
52a8
\u
91cd
\u
542f
\u3002\u
8bf7
\u
73b0
\u5728\u
624b
\u
52a8
\u
91cd
\u
542f
\u
5b9e
\u
4f8b
\u
4ee5
\u
5b8c
\u6210\u
5b89
\u
88c5
\u3002
installWizard_installComplete_restartLabel
=
\u
91cd
\u
542f
installWizard_installIncomplete_title
=
\u6062\u
590d
\u
5b89
\u
88c5
installWizard_installIncomplete_banner
=
\u6062\u
590d
\u
5b89
\u
88c5
installWizard_installIncomplete_message
=
jenkins
\u5728\u
5b89
\u
88c5
\u
8fc7
\u
7a0b
\u
5df2
\u
91cd
\u
542f
\u
ff0c
\u
90e8
\u5206\u
63d2
\u
4ef6
\u
4f3c
\u
4e4e
\u
672a
\u
5b89
\u
88c5
\u3002
installWizard_installIncomplete_resumeInstallationButtonLabel
=
\u6062\u
590d
installWizard_saveFirstUser
=
\u
4fdd
\u
5b58
\u
5e76
\u
5b8c
\u6210
installWizard_skipFirstUser
=
\u
4f7f
\u7528
admin
\u
8d26
\u6237\u
7ee7
\u
7eed
installWizard_firstUserSkippedMessage
=
<div class="alert alert-warning fade in">
\
\u
4f60
\u
5df2
\u
8df3
\u
8fc7
\u
521b
\u
5efaadmin
\u7528\u6237\u7684\u
6b65
\u
9aa4
\u3002\u8981\u
767b
\u
5f55
\u
8bf7
\u
4f7f
\u7528\u7528\u6237\u
540d
\u
ff1a'admin'
\
\u
53ca
\u7528\u
4e8e
\u
8bbf
\u
95ee
\u
5b89
\u
88c5
\u5411\u
5bfc
\u7684\u
7ba1
\u7406\u5458\u
5bc6
\u7801\u3002\
</div>
installWizard_addFirstUser_title
=
\u
65b0
\u
624b
\u5165\u
95e8
installWizard_configureProxy_label
=
\u
914d
\u
7f6e
\u
4ee3
\u7406
installWizard_configureProxy_save
=
\u
4fdd
\u
5b58
\u
5e76
\u
7ee7
\u
7eed
installWizard_gettingStarted_title
=
\u
65b0
\u
624b
\u5165\u
95e8
installWizard_saveSecurity
=
\u
4fdd
\u
5b58
\u
5e76
\u
7ee7
\u
7eed
installWizard_skipPluginInstallations
=
\u
8df3
\u
8fc7
\u
63d2
\u
4ef6
\u
5b89
\u
88c5
installWizard_installIncomplete_dependenciesLabel
=
\u
4f9d
\u
8d56
installWizard_installingConsole_dependencyIndicatorNote
=
** -
\u9700\u8981\u
4f9d
\u
8d56
installWizard_websiteLinkLabel
=
\u
7f51
\u
7ad9
installWizard_pluginInstallFailure_title
=
\u
5b89
\u
88c5
\u5931\u
8d25
installWizard_pluginInstallFailure_message
=
\u
90e8
\u5206\u
63d2
\u
4ef6
\u
5b89
\u
88c5
\u5931\u
8d25
\u
ff0c
\u
8bf7
\u
91cd
\u
8bd5
\u6216\u
7ee7
\u
7eed
installWizard_continue
=
\u
7ee7
\u
7eed
installWizard_retry
=
\u
91cd
\u
8bd5
installWizard_upgradePanel_title
=
\u
66f4
\u
65b0
installWizard_upgradePanel_banner
=
\u
6b22
\u
8fce
\u
4f7f
\u7528
jenkins {0}
\u
ff01
installWizard_upgradePanel_message
=
jenkins {0}
\u5305\u
62ec
\u
4e00
\u
4e9b
\u
4e0d
\u9519\u7684\u
65b0
\u7279\u6027\u
ff0c
\u6211\u
4eec
\u
8ba4
\u
4e3a
\u
4f60
\u
53ef
\u
80fd
\u
4f1a
\u
559c
\u
6b22
\u
ff0c
\u
5b89
\u
88c5
\u
8fd9
\u
4e9b
\u9644\u
52a0
\u
63d2
\u
4ef6
\u6765\u
4f53
\u
9a8c
\u
ff01
installWizard_upgradePanel_skipRecommendedPlugins
=
\u
4e0d
\u
ff0c
\u
8c22
\u
8c22
installWizard_upgradeComplete_title
=
\u
66f4
\u
65b0
installWizard_pluginsInstalled_banner
=
\u
6b22
\u
8fce
\u
4f7f
\u7528
jenkins {0}
\u
ff01
installWizard_upgradeComplete_message
=
\u
606d
\u
559c
\u
ff01
\u
4f60
\u
5df2
\u
66f4
\u
65b0
\u5230
jenkins {0}
\u3002
</p><p>
\u
8bbf
\u
95ee<a target="_blank" href="https://jenkins.io/2.0/">jenkins
\u
7f51
\u
7ad9</a>
\u
4e86
\u
89e3
\u
66f4
\u
591a
\u
65b0
\u7279\u6027\u7684\u
4fe1
\u
606f
\u3002
installWizard_upgradeSkipped_title
=
\u
66f4
\u
65b0
installWizard_upgradeSkipped_banner
=
\u7279\u6027\u
672a
\u
5b89
\u
88c5
installWizard_upgradeSkipped_message
=
<div class="alert alert-warning fade in">
\u
5efa
\u
8bae
\u7684\u
63d2
\u
4ef6
\u
5c06
\u
4e0d
\u
88ab
\u
5b89
\u
88c5
\u3002
</div>
\
<p style="padding: 0 4px">
\u5982\u
679c
\u
4f60
\u6539\u
53d8
\u
4e3b
\u
610f
\u
4e86
\u
ff0c
\u
8fd8
\u
53ef
\u
4ee5
\u
4ece
\u
63d2
\u
4ef6
\u
7ba1
\u7406\u5668\u
5b89
\u
88c5
\u
65b0
\u7279\u6027\u3002
</p>
\
<p style="padding: 0 4px">
\u
8bbf
\u
95ee<a target="_blank" href="https://jenkins.io/2.0/">jenkins
\u
5b98
\u
7f51</a>
\u
ff0c
\u
4e86
\u
89e3
\u
8fd9
\u
4e9b
\u
65b0
\u7279\u6027\u5982\u
4f55
\u
63d0
\u5347
jenkins
\u
4f53
\u
9a8c
\u3002
</p>
installWizard_upgrading_title
=
\u
6b63
\u5728\u
5b89
\u
88c5
\u
63d2
\u
4ef6
installWizard_upgradeComplete_finishButtonLabel
=
\u
5b8c
\u6210
core/src/main/resources/jenkins/model/Jenkins/loginError_zh_CN.properties
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc.
# Copyright (c) 2004-2017, Sun Microsystems, Inc.
# suren <zxjlwt@126.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
...
...
@@ -20,5 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Login\
Error
=
\u
767B
\u
5F55
\u5931\u
8D25
Invalid\
login\
information.\
Please\
try\
again.
=
\u
767B
\u
5F55
\u
4FE1
\u
606F
\u
65E0
\u6548\u3002\u
8BF7
\u
91CD
\u
8BD5
\u3002
Try\
again
=
\u
91CD
\u
8BD5
If\
you\
are\
a\
system\
administrator\
and\
suspect\
this\
to\
be\
a\
configuration\
problem,\
see\
the\
server\
console\
output\
for\
more\
details.
=
\u5982\u
679C
\u
4F60
\u
662F
\u
7CFB
\u
7EDF
\u
7BA1
\u7406\u5458\u
FF0C
\u
5E76
\u6000\u7591\u
8FD9
\u
662F
\u7531\u
4E8E
\u
914D
\u
7F6E
\u9519\u
8BEF
\u
5BFC
\u
81F4
\u7684\u
8BDD
\u
FF0C
\u
53EF
\u
4EE5
\u
901A
\u
8FC7
\u
67E5
\u
770B
\u
670D
\u
52A1
\u5668\u
63A7
\u5236\u
53F0
\u
5F97
\u
5F97
\u
8BE6
\u
7EC6
\u
4FE1
\u
606F
\u3002
core/src/main/resources/lib/hudson/project/console-link_zh_CN.properties
0 → 100644
浏览文件 @
5a24186d
# The MIT License
#
# Copyright (c) 2017, suren <zxjlwt@126.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Console\
Output
=
\u
63A7
\u5236\u
53F0
\u
8F93
\u
51FA
View\
as\
plain\
text
=
\u6587\u
672C
\u
65B9
\u
5F0F
\u
67E5
\u
770B
core/src/test/java/jenkins/model/NewViewLinkTest.java
浏览文件 @
5a24186d
...
...
@@ -9,13 +9,36 @@ import static org.mockito.Mockito.when;
import
hudson.model.Action
;
import
hudson.model.View
;
import
java.util.List
;
import
org.junit.Before
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.mockito.Mock
;
import
org.powermock.api.mockito.PowerMockito
;
import
org.powermock.core.classloader.annotations.PrepareForTest
;
import
org.powermock.modules.junit4.PowerMockRunner
;
@RunWith
(
PowerMockRunner
.
class
)
@PrepareForTest
({
NewViewLink
.
class
,
Jenkins
.
class
})
public
class
NewViewLinkTest
{
@Mock
private
Jenkins
jenkins
;
@Mock
private
final
String
rootUrl
=
"https://127.0.0.1:8080/"
;
private
NewViewLink
newViewLink
=
new
NewViewLink
()
;
private
NewViewLink
newViewLink
;
private
View
view
=
mock
(
View
.
class
);
@Before
public
void
initTests
()
throws
Exception
{
PowerMockito
.
mockStatic
(
Jenkins
.
class
);
PowerMockito
.
when
(
Jenkins
.
getInstance
()).
thenReturn
(
jenkins
);
PowerMockito
.
when
(
jenkins
.
getRootUrl
()).
thenReturn
(
rootUrl
);
newViewLink
=
new
NewViewLink
();
}
@Test
public
void
getActionsHasPermission
()
throws
Exception
{
...
...
@@ -27,7 +50,7 @@ public class NewViewLinkTest {
final
Action
action
=
actions
.
get
(
0
);
assertEquals
(
Messages
.
NewViewLink_NewView
(),
action
.
getDisplayName
());
assertEquals
(
NewViewLink
.
ICON_FILE_NAME
,
action
.
getIconFileName
());
assertEquals
(
NewViewLink
.
URL_NAME
,
action
.
getUrlName
());
assertEquals
(
rootUrl
+
NewViewLink
.
URL_NAME
,
action
.
getUrlName
());
}
@Test
...
...
@@ -40,7 +63,7 @@ public class NewViewLinkTest {
final
Action
action
=
actions
.
get
(
0
);
assertNull
(
action
.
getDisplayName
());
assertNull
(
action
.
getIconFileName
());
assertEquals
(
NewViewLink
.
URL_NAME
,
action
.
getUrlName
());
assertEquals
(
rootUrl
+
NewViewLink
.
URL_NAME
,
action
.
getUrlName
());
}
}
\ No newline at end of file
pom.xml
浏览文件 @
5a24186d
...
...
@@ -33,7 +33,7 @@ THE SOFTWARE.
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
2.10
1
-SNAPSHOT
</version>
<version>
2.10
2
-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<name>
Jenkins main module
</name>
...
...
test/pom.xml
浏览文件 @
5a24186d
...
...
@@ -28,7 +28,7 @@ THE SOFTWARE.
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
2.10
1
-SNAPSHOT
</version>
<version>
2.10
2
-SNAPSHOT
</version>
</parent>
<artifactId>
test
</artifactId>
...
...
war/pom.xml
浏览文件 @
5a24186d
...
...
@@ -28,7 +28,7 @@ THE SOFTWARE.
<parent>
<groupId>
org.jenkins-ci.main
</groupId>
<artifactId>
pom
</artifactId>
<version>
2.10
1
-SNAPSHOT
</version>
<version>
2.10
2
-SNAPSHOT
</version>
</parent>
<artifactId>
jenkins-war
</artifactId>
...
...
war/src/main/webapp/help/parameter/trim_zh_CN.html
浏览文件 @
5a24186d
<div>
清除字符串前后的
清
白字符。
清除字符串前后的
空
白字符。
</div>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录