Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FIY695
jenkins
提交
bb7cfd94
J
jenkins
项目概览
FIY695
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,发现更多精彩内容 >>
提交
bb7cfd94
编写于
4月 30, 2012
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of github.com:jenkinsci/jenkins
上级
57c788a5
7057bd77
变更
23
显示空白变更内容
内联
并排
Showing
23 changed file
with
337 addition
and
34 deletion
+337
-34
core/src/main/java/hudson/matrix/MatrixProject.java
core/src/main/java/hudson/matrix/MatrixProject.java
+1
-1
core/src/main/java/hudson/model/Project.java
core/src/main/java/hudson/model/Project.java
+1
-1
core/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly
...urces/hudson/matrix/MatrixProject/configure-entries.jelly
+1
-1
core/src/main/resources/hudson/model/Project/configure-entries.jelly
...in/resources/hudson/model/Project/configure-entries.jelly
+1
-1
core/src/main/resources/lib/hudson/project/config-publishers.jelly
...main/resources/lib/hudson/project/config-publishers.jelly
+7
-11
core/src/main/resources/lib/hudson/project/config-publishers2.jelly
...ain/resources/lib/hudson/project/config-publishers2.jelly
+41
-0
core/src/main/resources/lib/hudson/project/config-publishers2_da.properties
...urces/lib/hudson/project/config-publishers2_da.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_de.properties
...urces/lib/hudson/project/config-publishers2_de.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_es.properties
...urces/lib/hudson/project/config-publishers2_es.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_fr.properties
...urces/lib/hudson/project/config-publishers2_fr.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_it.properties
...urces/lib/hudson/project/config-publishers2_it.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_ja.properties
...urces/lib/hudson/project/config-publishers2_ja.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_nl.properties
...urces/lib/hudson/project/config-publishers2_nl.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_pt_BR.properties
...es/lib/hudson/project/config-publishers2_pt_BR.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_ru.properties
...urces/lib/hudson/project/config-publishers2_ru.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_tr.properties
...urces/lib/hudson/project/config-publishers2_tr.properties
+23
-0
core/src/main/resources/lib/hudson/project/config-publishers2_zh_CN.properties
...es/lib/hudson/project/config-publishers2_zh_CN.properties
+23
-0
maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
+1
-1
maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
...urces/hudson/maven/MavenModuleSet/configure-entries.jelly
+1
-1
test/src/test/java/hudson/bugs/seasar/Operation2174Test.java
test/src/test/java/hudson/bugs/seasar/Operation2174Test.java
+5
-9
test/src/test/java/hudson/model/HelpLinkTest.java
test/src/test/java/hudson/model/HelpLinkTest.java
+13
-4
test/src/test/java/hudson/tasks/MailerTest.java
test/src/test/java/hudson/tasks/MailerTest.java
+5
-3
test/src/test/java/hudson/util/FormFieldValidatorTest.java
test/src/test/java/hudson/util/FormFieldValidatorTest.java
+7
-1
未找到文件。
core/src/main/java/hudson/matrix/MatrixProject.java
浏览文件 @
bb7cfd94
...
@@ -719,7 +719,7 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im
...
@@ -719,7 +719,7 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im
buildWrappers
.
rebuild
(
req
,
json
,
BuildWrappers
.
getFor
(
this
));
buildWrappers
.
rebuild
(
req
,
json
,
BuildWrappers
.
getFor
(
this
));
builders
.
rebuildHetero
(
req
,
json
,
Builder
.
all
(),
"builder"
);
builders
.
rebuildHetero
(
req
,
json
,
Builder
.
all
(),
"builder"
);
publishers
.
rebuild
(
req
,
json
,
BuildStepDescriptor
.
filter
(
Publisher
.
all
(),
this
.
getClass
())
);
publishers
.
rebuild
Hetero
(
req
,
json
,
Publisher
.
all
(),
"publisher"
);
rebuildConfigurations
();
rebuildConfigurations
();
}
}
...
...
core/src/main/java/hudson/model/Project.java
浏览文件 @
bb7cfd94
...
@@ -200,7 +200,7 @@ public abstract class Project<P extends Project<P,B>,B extends Build<P,B>>
...
@@ -200,7 +200,7 @@ public abstract class Project<P extends Project<P,B>,B extends Build<P,B>>
buildWrappers
.
rebuild
(
req
,
json
,
BuildWrappers
.
getFor
(
this
));
buildWrappers
.
rebuild
(
req
,
json
,
BuildWrappers
.
getFor
(
this
));
builders
.
rebuildHetero
(
req
,
json
,
Builder
.
all
(),
"builder"
);
builders
.
rebuildHetero
(
req
,
json
,
Builder
.
all
(),
"builder"
);
publishers
.
rebuild
(
req
,
json
,
BuildStepDescriptor
.
filter
(
Publisher
.
all
(),
this
.
getClass
())
);
publishers
.
rebuild
Hetero
(
req
,
json
,
Publisher
.
all
(),
"publisher"
);
}
}
@Override
@Override
...
...
core/src/main/resources/hudson/matrix/MatrixProject/configure-entries.jelly
浏览文件 @
bb7cfd94
...
@@ -83,5 +83,5 @@ THE SOFTWARE.
...
@@ -83,5 +83,5 @@ THE SOFTWARE.
<p:config-buildWrappers />
<p:config-buildWrappers />
<p:config-builders />
<p:config-builders />
<p:config-publishers />
<p:config-publishers
2
/>
</j:jelly>
</j:jelly>
core/src/main/resources/hudson/model/Project/configure-entries.jelly
浏览文件 @
bb7cfd94
...
@@ -35,5 +35,5 @@ THE SOFTWARE.
...
@@ -35,5 +35,5 @@ THE SOFTWARE.
<p:config-buildWrappers />
<p:config-buildWrappers />
<p:config-builders />
<p:config-builders />
<p:config-publishers />
<p:config-publishers
2
/>
</j:jelly>
</j:jelly>
\ No newline at end of file
core/src/main/resources/lib/hudson/project/config-publishers.jelly
浏览文件 @
bb7cfd94
...
@@ -27,15 +27,11 @@ THE SOFTWARE.
...
@@ -27,15 +27,11 @@ THE SOFTWARE.
-->
-->
<?jelly escape-by-default='true'?>
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:p="/lib/hudson/project">
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:p="/lib/hudson/project">
<f:section title="${%Post-build Actions}">
<st:documentation>
<f:block>
Deprecated as of 1.463. Use <config-publishers2> and update your code to do
<f:hetero-list name="publisher" hasHeader="true"
publishers.rebuildHetero(req, json, Publisher.all(), "publisher");
</st:documentation>
<f:descriptorList title="${%Post-build Actions}"
descriptors="${h.getPublisherDescriptors(it)}"
descriptors="${h.getPublisherDescriptors(it)}"
items="${it.publishersList}"
instances="${it.publishers}" />
oneEach="true"
menuAlign="bl-tl"
honorOrder="true"
addCaption="${%Add post-build action}"/>
</f:block>
</f:section>
</j:jelly>
</j:jelly>
\ No newline at end of file
core/src/main/resources/lib/hudson/project/config-publishers2.jelly
0 → 100644
浏览文件 @
bb7cfd94
<!--
The MIT License
Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
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.
-->
<!--
Publisher config pane
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form">
<f:section title="${%Post-build Actions}">
<f:block>
<f:hetero-list name="publisher" hasHeader="true"
descriptors="${h.getPublisherDescriptors(it)}"
items="${it.publishersList}"
oneEach="true"
menuAlign="bl-tl"
honorOrder="true"
addCaption="${%Add post-build action}"/>
</f:block>
</f:section>
</j:jelly>
\ No newline at end of file
core/src/main/resources/lib/hudson/project/config-publishers2_da.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc. Kohsuke Kawaguchi. Knud Poulsen.
#
# 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.
Post-build\
Actions
=
Post-byg Handlinger
core/src/main/resources/lib/hudson/project/config-publishers2_de.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Simon Wiest
#
# 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.
Post-build\
Actions
=
Post-Build-Aktionen
core/src/main/resources/lib/hudson/project/config-publishers2_es.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc.
#
# 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.
Post-build\
Actions
=
Acciones para ejecutar después.
core/src/main/resources/lib/hudson/project/config-publishers2_fr.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Eric Lefevre-Ardant
#
# 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.
Post-build\
Actions
=
Actions à la suite du build
core/src/main/resources/lib/hudson/project/config-publishers2_it.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc.
#
# 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.
Post-build\
Actions
=
Azioni dopo la build
core/src/main/resources/lib/hudson/project/config-publishers2_ja.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi
#
# 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.
Post-build\
Actions
=
\u
30d3
\u
30eb
\u
30c9
\u
5f8c
\u
306e
\u
51e6
\u7406
core/src/main/resources/lib/hudson/project/config-publishers2_nl.properties
0 → 100755
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, id:sorokh
#
# 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.
Post-build\
Actions
=
Acties na bouwpoging
\ No newline at end of file
core/src/main/resources/lib/hudson/project/config-publishers2_pt_BR.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Reginaldo L. Russinholi, Cleiber Silva
#
# 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.
Post-build\
Actions
=
A
\u
00e7
\u
00f5es p
\u
00f3s-constru
\u
00e7
\u
00e3o
core/src/main/resources/lib/hudson/project/config-publishers2_ru.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Mike Salnikov
#
# 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.
Post-build\
Actions
=
\u
041f
\u
043e
\u0441\u
043b
\u0435\u0441\u0431\u
043e
\u0440\u
043e
\u0447\u
043d
\u
044b
\u0435
\u
043e
\u
043f
\u0435\u0440\u0430\u0446\u0438\u0438
core/src/main/resources/lib/hudson/project/config-publishers2_tr.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Oguz Dag
#
# 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.
Post-build\
Actions
=
Yap
\u0131
land
\u0131
rma-sonras
\u0131
Aksiyonlar
core/src/main/resources/lib/hudson/project/config-publishers2_zh_CN.properties
0 → 100644
浏览文件 @
bb7cfd94
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc.
#
# 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.
Post-build\
Actions
=
\u6784\u
5EFA
\u
540E
\u
64CD
\u
4F5C
maven-plugin/src/main/java/hudson/maven/MavenModuleSet.java
浏览文件 @
bb7cfd94
...
@@ -1042,7 +1042,7 @@ public class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,MavenMod
...
@@ -1042,7 +1042,7 @@ public class MavenModuleSet extends AbstractMavenProject<MavenModuleSet,MavenMod
processPlugins
=
req
.
hasParameter
(
"maven.processPlugins"
);
processPlugins
=
req
.
hasParameter
(
"maven.processPlugins"
);
mavenValidationLevel
=
NumberUtils
.
toInt
(
req
.
getParameter
(
"maven.validationLevel"
),
-
1
);
mavenValidationLevel
=
NumberUtils
.
toInt
(
req
.
getParameter
(
"maven.validationLevel"
),
-
1
);
reporters
.
rebuild
(
req
,
json
,
MavenReporters
.
getConfigurableList
());
reporters
.
rebuild
(
req
,
json
,
MavenReporters
.
getConfigurableList
());
publishers
.
rebuild
(
req
,
json
,
BuildStepDescriptor
.
filter
(
Publisher
.
all
(),
this
.
getClass
())
);
publishers
.
rebuild
Hetero
(
req
,
json
,
Publisher
.
all
(),
"publisher"
);
buildWrappers
.
rebuild
(
req
,
json
,
BuildWrappers
.
getFor
(
this
));
buildWrappers
.
rebuild
(
req
,
json
,
BuildWrappers
.
getFor
(
this
));
settingConfigId
=
req
.
getParameter
(
"maven.mavenSettingsConfigId"
);
settingConfigId
=
req
.
getParameter
(
"maven.mavenSettingsConfigId"
);
globalSettingConfigId
=
req
.
getParameter
(
"maven.mavenGlobalSettingConfigId"
);
globalSettingConfigId
=
req
.
getParameter
(
"maven.mavenGlobalSettingConfigId"
);
...
...
maven-plugin/src/main/resources/hudson/maven/MavenModuleSet/configure-entries.jelly
浏览文件 @
bb7cfd94
...
@@ -167,5 +167,5 @@ THE SOFTWARE.
...
@@ -167,5 +167,5 @@ THE SOFTWARE.
<p:config-buildWrappers />
<p:config-buildWrappers />
<p:config-publishers />
<p:config-publishers
2
/>
</j:jelly>
</j:jelly>
test/src/test/java/hudson/bugs/seasar/Operation2174Test.java
浏览文件 @
bb7cfd94
...
@@ -53,23 +53,19 @@ public class Operation2174Test extends HudsonTestCase {
...
@@ -53,23 +53,19 @@ public class Operation2174Test extends HudsonTestCase {
HtmlForm
form
=
page
.
getFormByName
(
"config"
);
HtmlForm
form
=
page
.
getFormByName
(
"config"
);
// configure downstream build
// configure downstream build
DescriptorImpl
btd
=
hudson
.
getDescriptorByType
(
DescriptorImpl
.
class
);
up
.
getPublishersList
().
add
(
new
BuildTrigger
(
"dp"
,
false
));
form
.
getInputByName
(
btd
.
getJsonSafeClassName
()).
click
();
configRoundtrip
(
up
);
form
.
getInputByName
(
"buildTrigger.childProjects"
).
setValueAttribute
(
"dp"
);
submit
(
form
);
// verify that the relationship is set up
// verify that the relationship is set up
BuildTrigger
trigger
=
up
.
getPublishersList
().
get
(
BuildTrigger
.
class
);
BuildTrigger
trigger
=
up
.
getPublishersList
().
get
(
BuildTrigger
.
class
);
assertEquals
(
trigger
.
getChildProjects
(),
Collections
.
singletonList
(
dp
));
assertEquals
(
trigger
.
getChildProjects
(
up
),
Collections
.
singletonList
(
dp
));
// now go ahead and edit the downstream
// now go ahead and edit the downstream
page
=
webClient
.
getPage
(
dp
,
"configure"
);
configRoundtrip
(
dp
);
form
=
page
.
getFormByName
(
"config"
);
submit
(
form
);
// verify that the relationship is set up
// verify that the relationship is set up
trigger
=
up
.
getPublishersList
().
get
(
BuildTrigger
.
class
);
trigger
=
up
.
getPublishersList
().
get
(
BuildTrigger
.
class
);
assertNotNull
(
trigger
);
assertNotNull
(
trigger
);
assertEquals
(
trigger
.
getChildProjects
(),
Collections
.
singletonList
(
dp
));
assertEquals
(
trigger
.
getChildProjects
(
up
),
Collections
.
singletonList
(
dp
));
}
}
}
}
test/src/test/java/hudson/model/HelpLinkTest.java
浏览文件 @
bb7cfd94
package
hudson.model
;
package
hudson.model
;
import
hudson.Functions
;
import
hudson.tasks.BuildStepMonitor
;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
com.gargoylesoftware.htmlunit.html.HtmlPage
;
import
com.gargoylesoftware.htmlunit.html.HtmlPage
;
import
com.gargoylesoftware.htmlunit.html.HtmlAnchor
;
import
com.gargoylesoftware.htmlunit.html.HtmlAnchor
;
...
@@ -33,8 +35,9 @@ public class HelpLinkTest extends HudsonTestCase {
...
@@ -33,8 +35,9 @@ public class HelpLinkTest extends HudsonTestCase {
clickAllHelpLinks
(
createMatrixProject
());
clickAllHelpLinks
(
createMatrixProject
());
}
}
private
void
clickAllHelpLinks
(
Job
j
)
throws
Exception
{
private
void
clickAllHelpLinks
(
AbstractProject
j
)
throws
Exception
{
clickAllHelpLinks
(
new
WebClient
().
getPage
(
j
,
"configure"
));
// TODO: how do we add all the builders and publishers so that we can test this meaningfully?
clickAllHelpLinks
(
new
WebClient
().
getPage
(
j
,
"configure"
));
}
}
private
void
clickAllHelpLinks
(
HtmlPage
p
)
throws
Exception
{
private
void
clickAllHelpLinks
(
HtmlPage
p
)
throws
Exception
{
...
@@ -46,7 +49,7 @@ public class HelpLinkTest extends HudsonTestCase {
...
@@ -46,7 +49,7 @@ public class HelpLinkTest extends HudsonTestCase {
helpLink
.
click
();
helpLink
.
click
();
}
}
public
static
class
HelpNotFoundBuilder
extends
Build
er
{
public
static
class
HelpNotFoundBuilder
extends
Publish
er
{
public
static
final
class
DescriptorImpl
extends
BuildStepDescriptor
{
public
static
final
class
DescriptorImpl
extends
BuildStepDescriptor
{
public
boolean
isApplicable
(
Class
jobType
)
{
public
boolean
isApplicable
(
Class
jobType
)
{
return
true
;
return
true
;
...
@@ -61,6 +64,10 @@ public class HelpLinkTest extends HudsonTestCase {
...
@@ -61,6 +64,10 @@ public class HelpLinkTest extends HudsonTestCase {
return
"I don't have the help file"
;
return
"I don't have the help file"
;
}
}
}
}
public
BuildStepMonitor
getRequiredMonitorService
()
{
return
BuildStepMonitor
.
BUILD
;
}
}
}
/**
/**
...
@@ -71,7 +78,9 @@ public class HelpLinkTest extends HudsonTestCase {
...
@@ -71,7 +78,9 @@ public class HelpLinkTest extends HudsonTestCase {
DescriptorImpl
d
=
new
DescriptorImpl
();
DescriptorImpl
d
=
new
DescriptorImpl
();
Publisher
.
all
().
add
(
d
);
Publisher
.
all
().
add
(
d
);
try
{
try
{
clickAllHelpLinks
(
createFreeStyleProject
());
FreeStyleProject
p
=
createFreeStyleProject
();
p
.
getPublishersList
().
add
(
new
HelpNotFoundBuilder
());
clickAllHelpLinks
(
p
);
fail
(
"should detect a failure"
);
fail
(
"should detect a failure"
);
}
catch
(
AssertionError
e
)
{
}
catch
(
AssertionError
e
)
{
if
(
e
.
getMessage
().
contains
(
d
.
getHelpFile
()))
if
(
e
.
getMessage
().
contains
(
d
.
getHelpFile
()))
...
...
test/src/test/java/hudson/tasks/MailerTest.java
浏览文件 @
bb7cfd94
...
@@ -90,11 +90,13 @@ public class MailerTest extends HudsonTestCase {
...
@@ -90,11 +90,13 @@ public class MailerTest extends HudsonTestCase {
verifyRoundtrip
(
m
);
verifyRoundtrip
(
m
);
}
}
private
void
verifyRoundtrip
(
Mailer
m
)
throws
Exception
{
private
void
verifyRoundtrip
(
Mailer
before
)
throws
Exception
{
FreeStyleProject
p
=
createFreeStyleProject
();
FreeStyleProject
p
=
createFreeStyleProject
();
p
.
getPublishersList
().
add
(
m
);
p
.
getPublishersList
().
add
(
before
);
submit
(
new
WebClient
().
getPage
(
p
,
"configure"
).
getFormByName
(
"config"
));
submit
(
new
WebClient
().
getPage
(
p
,
"configure"
).
getFormByName
(
"config"
));
assertEqualBeans
(
m
,
p
.
getPublishersList
().
get
(
Mailer
.
class
),
"recipients,dontNotifyEveryUnstableBuild,sendToIndividuals"
);
Mailer
after
=
p
.
getPublishersList
().
get
(
Mailer
.
class
);
assertNotSame
(
before
,
after
);
assertEqualBeans
(
before
,
after
,
"recipients,dontNotifyEveryUnstableBuild,sendToIndividuals"
);
}
}
public
void
testGlobalConfigRoundtrip
()
throws
Exception
{
public
void
testGlobalConfigRoundtrip
()
throws
Exception
{
...
...
test/src/test/java/hudson/util/FormFieldValidatorTest.java
浏览文件 @
bb7cfd94
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
package
hudson.util
;
package
hudson.util
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.FreeStyleProject
;
import
hudson.tasks.BuildStepMonitor
;
import
hudson.tasks.Builder
;
import
hudson.tasks.Builder
;
import
hudson.tasks.BuildStepDescriptor
;
import
hudson.tasks.BuildStepDescriptor
;
import
hudson.tasks.Publisher
;
import
hudson.tasks.Publisher
;
...
@@ -43,7 +44,7 @@ public class FormFieldValidatorTest extends HudsonTestCase {
...
@@ -43,7 +44,7 @@ public class FormFieldValidatorTest extends HudsonTestCase {
new
WebClient
().
getPage
(
p
,
"configure"
);
new
WebClient
().
getPage
(
p
,
"configure"
);
}
}
public
static
class
BrokenFormValidatorBuilder
extends
Build
er
{
public
static
class
BrokenFormValidatorBuilder
extends
Publish
er
{
public
static
final
class
DescriptorImpl
extends
BuildStepDescriptor
{
public
static
final
class
DescriptorImpl
extends
BuildStepDescriptor
{
public
boolean
isApplicable
(
Class
jobType
)
{
public
boolean
isApplicable
(
Class
jobType
)
{
return
true
;
return
true
;
...
@@ -57,6 +58,10 @@ public class FormFieldValidatorTest extends HudsonTestCase {
...
@@ -57,6 +58,10 @@ public class FormFieldValidatorTest extends HudsonTestCase {
return
"I have broken form field validation"
;
return
"I have broken form field validation"
;
}
}
}
}
public
BuildStepMonitor
getRequiredMonitorService
()
{
return
BuildStepMonitor
.
BUILD
;
}
}
}
/**
/**
...
@@ -68,6 +73,7 @@ public class FormFieldValidatorTest extends HudsonTestCase {
...
@@ -68,6 +73,7 @@ public class FormFieldValidatorTest extends HudsonTestCase {
Publisher
.
all
().
add
(
d
);
Publisher
.
all
().
add
(
d
);
try
{
try
{
FreeStyleProject
p
=
createFreeStyleProject
();
FreeStyleProject
p
=
createFreeStyleProject
();
p
.
getPublishersList
().
add
(
new
BrokenFormValidatorBuilder
());
new
WebClient
().
getPage
(
p
,
"configure"
);
new
WebClient
().
getPage
(
p
,
"configure"
);
fail
(
"should have failed"
);
fail
(
"should have failed"
);
}
catch
(
AssertionError
e
)
{
}
catch
(
AssertionError
e
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录