Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
bcd94569
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,发现更多精彩内容 >>
提交
bcd94569
编写于
4月 12, 2013
作者:
V
Vincent Latombe
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into views_include_jobs_folder
上级
c4847d1b
2d3fa398
变更
42
隐藏空白更改
内联
并排
Showing
42 changed file
with
220 addition
and
413 deletion
+220
-413
changelog.html
changelog.html
+15
-0
core/src/main/java/hudson/model/AbstractItem.java
core/src/main/java/hudson/model/AbstractItem.java
+3
-0
core/src/main/java/hudson/model/AbstractProject.java
core/src/main/java/hudson/model/AbstractProject.java
+16
-5
core/src/main/java/hudson/model/MyViewsProperty.java
core/src/main/java/hudson/model/MyViewsProperty.java
+2
-2
core/src/main/java/hudson/model/View.java
core/src/main/java/hudson/model/View.java
+4
-0
core/src/main/java/hudson/tools/JDKInstaller.java
core/src/main/java/hudson/tools/JDKInstaller.java
+2
-2
core/src/main/resources/hudson/model/AbstractItem/delete.jelly
...src/main/resources/hudson/model/AbstractItem/delete.jelly
+1
-4
core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
...in/resources/hudson/model/AbstractProject/sidepanel.jelly
+2
-2
core/src/main/resources/hudson/model/AbstractProject/sidepanel.properties
...sources/hudson/model/AbstractProject/sidepanel.properties
+2
-0
core/src/main/resources/hudson/model/AbstractProject/sidepanel_da.properties
...rces/hudson/model/AbstractProject/sidepanel_da.properties
+1
-0
core/src/main/resources/hudson/model/AbstractProject/sidepanel_de.properties
...rces/hudson/model/AbstractProject/sidepanel_de.properties
+5
-4
core/src/main/resources/hudson/model/AbstractProject/sidepanel_es.properties
...rces/hudson/model/AbstractProject/sidepanel_es.properties
+3
-3
core/src/main/resources/hudson/model/AbstractProject/sidepanel_fr.properties
...rces/hudson/model/AbstractProject/sidepanel_fr.properties
+4
-3
core/src/main/resources/hudson/model/AbstractProject/sidepanel_hu.properties
...rces/hudson/model/AbstractProject/sidepanel_hu.properties
+8
-7
core/src/main/resources/hudson/model/AbstractProject/sidepanel_it.properties
...rces/hudson/model/AbstractProject/sidepanel_it.properties
+1
-0
core/src/main/resources/hudson/model/AbstractProject/sidepanel_ja.properties
...rces/hudson/model/AbstractProject/sidepanel_ja.properties
+1
-0
core/src/main/resources/hudson/model/AbstractProject/sidepanel_pt_BR.properties
...s/hudson/model/AbstractProject/sidepanel_pt_BR.properties
+2
-1
core/src/main/resources/hudson/model/AbstractProject/sidepanel_ru.properties
...rces/hudson/model/AbstractProject/sidepanel_ru.properties
+6
-5
core/src/main/resources/hudson/model/AbstractProject/sidepanel_sv_SE.properties
...s/hudson/model/AbstractProject/sidepanel_sv_SE.properties
+2
-1
core/src/main/resources/hudson/model/AbstractProject/sidepanel_zh_CN.properties
...s/hudson/model/AbstractProject/sidepanel_zh_CN.properties
+4
-3
core/src/main/resources/hudson/model/AbstractProject/sidepanel_zh_TW.properties
...s/hudson/model/AbstractProject/sidepanel_zh_TW.properties
+1
-0
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace.jelly
...urces/hudson/model/AbstractProject/wipeOutWorkspace.jelly
+0
-37
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace.properties
.../hudson/model/AbstractProject/wipeOutWorkspace.properties
+0
-23
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_da.properties
...dson/model/AbstractProject/wipeOutWorkspace_da.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_de.properties
...dson/model/AbstractProject/wipeOutWorkspace_de.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_es.properties
...dson/model/AbstractProject/wipeOutWorkspace_es.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_fr.properties
...dson/model/AbstractProject/wipeOutWorkspace_fr.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_hu.properties
...dson/model/AbstractProject/wipeOutWorkspace_hu.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_it.properties
...dson/model/AbstractProject/wipeOutWorkspace_it.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_ja.properties
...dson/model/AbstractProject/wipeOutWorkspace_ja.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_pt_BR.properties
...n/model/AbstractProject/wipeOutWorkspace_pt_BR.properties
+0
-25
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_ru.properties
...dson/model/AbstractProject/wipeOutWorkspace_ru.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_sv_SE.properties
...n/model/AbstractProject/wipeOutWorkspace_sv_SE.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_zh_CN.properties
...n/model/AbstractProject/wipeOutWorkspace_zh_CN.properties
+0
-24
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_zh_TW.properties
...n/model/AbstractProject/wipeOutWorkspace_zh_TW.properties
+0
-24
core/src/main/resources/lib/layout/confirmationLink.jelly
core/src/main/resources/lib/layout/confirmationLink.jelly
+7
-5
core/src/main/resources/lib/layout/task.jelly
core/src/main/resources/lib/layout/task.jelly
+6
-2
test/src/main/java/org/jvnet/hudson/test/MockFolder.java
test/src/main/java/org/jvnet/hudson/test/MockFolder.java
+88
-1
test/src/test/java/hudson/console/ConsoleAnnotatorTest.java
test/src/test/java/hudson/console/ConsoleAnnotatorTest.java
+2
-1
test/src/test/java/hudson/model/AbstractProjectTest.java
test/src/test/java/hudson/model/AbstractProjectTest.java
+28
-7
test/src/test/java/hudson/model/HudsonTest.java
test/src/test/java/hudson/model/HudsonTest.java
+3
-3
test/src/test/java/hudson/model/ManagementLinkTest.java
test/src/test/java/hudson/model/ManagementLinkTest.java
+1
-3
未找到文件。
changelog.html
浏览文件 @
bcd94569
...
...
@@ -60,12 +60,24 @@ Upcoming changes</a>
<li
class=
rfe
>
Added confirmation dialog before reloading configuration from disk.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-15340"
>
issue 15340
</a>
)
<li
class=
rfe
>
Switched confirmation before deleting jobs or wiping out workspace to a dialog.
<li
class=
rfe
>
Different text than “Build Now” for parameterized jobs.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-10738"
>
issue 10738
</a>
)
<li
class=
bug
>
“Build Now” context menu item broken for parameterized jobs.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-17110"
>
issue 17110
</a>
)
<li
class=
bug
>
Incorrect redirection after delete of job in folder in view.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-17575"
>
issue 17575
</a>
)
<li
class=
bug
>
”My Views" links leads to 404 Not Found.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-17317"
>
issue 17317
</a>
)
<li
class=
bug
>
Quoting Issue with JDK Installer with Windows Installer.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-5408"
>
issue 5408
</a>
)
</ul>
</ul>
</div>
<!--=TRUNK-END=-->
...
...
@@ -190,6 +202,9 @@ Upcoming changes</a>
<li
class=
bug
>
JNA-related error from Windows slave monitoring thrown repeatedly.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-15796"
>
issue 15796
</a>
)
<li
class=
bug
>
New JSON library corrects problems such as form values starting with
<code>
[
</code>
.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-14827"
>
issue 14827
</a>
)
<li
class=
rfe
>
Improved the request handling performance (where the file lookup is expensive, such as on NFS).
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-16606"
>
issue 16606
</a>
)
...
...
core/src/main/java/hudson/model/AbstractItem.java
浏览文件 @
bcd94569
...
...
@@ -494,6 +494,9 @@ public abstract class AbstractItem extends Actionable implements Item, HttpDelet
/**
* Deletes this item.
* Note on the funny name: for reasons of historical compatibility, this URL is {@code /doDelete}
* since it predates {@code <l:confirmationLink>}. {@code /delete} goes to a Jelly page
* which should now be unused by core but is left in case plugins are still using it.
*/
@CLIMethod
(
name
=
"delete-job"
)
@RequirePOST
...
...
core/src/main/java/hudson/model/AbstractProject.java
浏览文件 @
bcd94569
...
...
@@ -95,6 +95,7 @@ import org.kohsuke.accmod.Restricted;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.args4j.Argument
;
import
org.kohsuke.args4j.CmdLineException
;
import
org.kohsuke.stapler.Ancestor
;
import
org.kohsuke.stapler.ForwardToView
;
import
org.kohsuke.stapler.HttpRedirect
;
import
org.kohsuke.stapler.HttpResponse
;
...
...
@@ -117,6 +118,7 @@ import java.util.Collections;
import
java.util.Comparator
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.ListIterator
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.SortedMap
;
...
...
@@ -1880,11 +1882,20 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
delete
();
if
(
req
==
null
||
rsp
==
null
)
return
;
View
view
=
req
.
findAncestorObject
(
View
.
class
);
if
(
view
==
null
)
rsp
.
sendRedirect2
(
req
.
getContextPath
()
+
'/'
+
getParent
().
getUrl
());
else
rsp
.
sendRedirect2
(
req
.
getContextPath
()
+
'/'
+
view
.
getUrl
());
List
<
Ancestor
>
ancestors
=
req
.
getAncestors
();
ListIterator
<
Ancestor
>
it
=
ancestors
.
listIterator
(
ancestors
.
size
());
String
url
=
getParent
().
getUrl
();
// fallback but we ought to get to Jenkins.instance at the root
while
(
it
.
hasPrevious
())
{
Object
a
=
it
.
previous
().
getObject
();
if
(
a
instanceof
View
)
{
url
=
((
View
)
a
).
getUrl
();
break
;
}
else
if
(
a
instanceof
ViewGroup
)
{
url
=
((
ViewGroup
)
a
).
getUrl
();
break
;
}
}
rsp
.
sendRedirect2
(
req
.
getContextPath
()
+
'/'
+
url
);
}
@Override
...
...
core/src/main/java/hudson/model/MyViewsProperty.java
浏览文件 @
bcd94569
...
...
@@ -145,7 +145,7 @@ public class MyViewsProperty extends UserProperty implements ViewGroup, Action,
}
public
HttpResponse
doIndex
()
{
return
new
HttpRedirect
(
"view/"
+
getPrimaryView
().
getViewName
(
)
+
"/"
);
return
new
HttpRedirect
(
"view/"
+
Util
.
encode
(
getPrimaryView
().
getViewName
()
)
+
"/"
);
}
public
synchronized
void
doCreateView
(
StaplerRequest
req
,
StaplerResponse
rsp
)
...
...
@@ -262,5 +262,5 @@ public class MyViewsProperty extends UserProperty implements ViewGroup, Action,
}
}
}
core/src/main/java/hudson/model/View.java
浏览文件 @
bcd94569
...
...
@@ -475,6 +475,10 @@ public abstract class View extends AbstractModelObject implements AccessControll
return
(
owner
!=
null
?
owner
.
getUrl
()
:
""
)
+
"view/"
+
Util
.
rawEncode
(
getViewName
())
+
'/'
;
}
@Override
public
String
toString
()
{
return
super
.
toString
()
+
"["
+
getViewUrl
()
+
"]"
;
}
public
String
getSearchUrl
()
{
return
getUrl
();
}
...
...
core/src/main/java/hudson/tools/JDKInstaller.java
浏览文件 @
bcd94569
...
...
@@ -227,10 +227,10 @@ public class JDKInstaller extends ToolInstaller {
ArgumentListBuilder
args
=
new
ArgumentListBuilder
();
args
.
add
(
jdkBundle
);
if
(
isJava15
()
||
isJava14
())
{
args
.
add
(
"/s"
,
"/v/qn REBOOT=ReallySuppress INSTALLDIR=\
\\""
+
expectedLocation
+
"\\\" /L \\\""
+
logFile
+
"\\
\""
);
args
.
add
(
"/s"
,
"/v/qn REBOOT=ReallySuppress INSTALLDIR=\
""
+
expectedLocation
+
"\" /L \""
+
logFile
+
"
\""
);
}
else
{
// modern version supports arguments in more sane format.
args
.
add
(
"/s"
,
"/v"
,
"/qn"
,
"/L"
,
"\
\\""
+
logFile
+
"\\\""
,
"REBOOT=ReallySuppress"
,
"INSTALLDIR=\\\""
+
expectedLocation
+
"\\
\""
);
args
.
add
(
"/s"
,
"/v"
,
"/qn"
,
"/L"
,
"\
""
+
logFile
+
"\""
,
"REBOOT=ReallySuppress"
,
"INSTALLDIR=\""
+
expectedLocation
+
"
\""
);
}
// according to http://community.acresso.com/showthread.php?t=83301, \" is the trick to quote values with whitespaces.
// Oh Windows, oh windows, why do you have to be so difficult?
...
...
core/src/main/resources/hudson/model/AbstractItem/delete.jelly
浏览文件 @
bcd94569
...
...
@@ -23,10 +23,7 @@ THE SOFTWARE.
-->
<!--
Delete this job.
Some jobs cannot be deleted by the user, so this view is not necessarily
applicable to all jobs.
@deprecated Use a l:confirmationLink directly to /job/*/doDelete.
-->
<?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:i="jelly:fmt">
...
...
core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
浏览文件 @
bcd94569
...
...
@@ -41,7 +41,7 @@ THE SOFTWARE.
<l:task icon="images/24x24/search.png" href="${url}/" title="${%Status}" contextMenu="false"/>
<l:task icon="images/24x24/notepad.png" href="${url}/changes" title="${%Changes}" />
<l:task icon="images/24x24/folder.png" href="${url}/ws/" title="${%Workspace}" permission="${it.WORKSPACE}">
<l:task icon="images/24x24/folder-delete.png" href="${url}/
wipeOutWorkspace" title="${%Wipe Out Workspace}" permission="${h.isWipeOutPermissionEnabled() ? it.WIPEOUT : it.BUILD}"
/>
<l:task icon="images/24x24/folder-delete.png" href="${url}/
doWipeOutWorkspace" title="${%Wipe Out Workspace}" permission="${h.isWipeOutPermissionEnabled() ? it.WIPEOUT : it.BUILD}" post="true" requiresConfirmation="true" confirmationMessage="${%wipe.out.confirm}"
/>
</l:task>
<j:if test="${it.configurable}">
<j:if test="${it.buildable}">
...
...
@@ -56,7 +56,7 @@ THE SOFTWARE.
}
</script>
</j:if>
<l:task icon="images/24x24/edit-delete.png" href="${url}/d
elete" title="${%delete(it.pronoun)}" permission="${it.DELETE}"
/>
<l:task icon="images/24x24/edit-delete.png" href="${url}/d
oDelete" title="${%delete(it.pronoun)}" permission="${it.DELETE}" post="true" requiresConfirmation="true" confirmationMessage="${%delete.confirm(it.pronoun, it.displayName)}"
/>
<j:choose>
<j:when test="${h.hasPermission(it,it.CONFIGURE)}">
<l:task icon="images/24x24/setting.png" href="${url}/configure" title="${%Configure}" />
...
...
core/src/main/resources/hudson/model/AbstractProject/sidepanel.properties
浏览文件 @
bcd94569
...
...
@@ -21,3 +21,5 @@
# THE SOFTWARE.
delete
=
Delete {0}
delete.confirm
=
Are you sure about deleting the {0}
\u2018
{1}
\u2019
?
wipe.out.confirm
=
Are you sure about wiping out the workspace?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_da.properties
浏览文件 @
bcd94569
...
...
@@ -29,3 +29,4 @@ Workspace=Arbejdsomr\u00e5de
Build\
scheduled
=
Byg skeduleret
View\
Configuration
=
Vis konfiguration
Wipe\
Out\
Workspace
=
Slet arbejdsomr
\u
00e5det
wipe.out.confirm
=
Er du sikker p
\u
00e5 at du vil slette arbejdsomr
\u
00e5det?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_de.properties
浏览文件 @
bcd94569
...
...
@@ -20,13 +20,14 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Back\
to\
Dashboard
=
Zur
ück zur Ü
bersicht
Back\
to\
Dashboard
=
Zur
\u
00fcck zur
\u
00dc
bersicht
Status
=
Status
Changes
=
Ä
nderungen
Changes
=
\u
00c4
nderungen
Workspace
=
Arbeitsbereich
delete
=
{0} L
\u
00
F
6schen
delete
=
{0} L
\u
00
f
6schen
Configure
=
Konfigurieren
View\
Configuration
=
Konfiguration anzeigen
Build\
scheduled
=
Build geplant
Wipe\
Out\
Workspace
=
Arbeitsbereich l
ö
schen
Wipe\
Out\
Workspace
=
Arbeitsbereich l
\u
00f6
schen
View\
Configuration
=
Konfiguration anzeigen
wipe.out.confirm
=
Sind Sie sicher, dass sie den Arbeitsbereich l
\u
00f6schen m
\u
00f6chten?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_es.properties
浏览文件 @
bcd94569
...
...
@@ -20,13 +20,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Build\
scheduled
=
Ejecuci
\u
00
F
3n agendada
Build\
scheduled
=
Ejecuci
\u
00
f
3n agendada
Changes
=
Cambios
Configure
=
Configurar
Status
=
Estado
Wipe\
Out\
Workspace
=
Limpiar el Espacio de trabajo
Workspace
=
Espacio de trabajo
delete
=
Borrar {0}
View\
Configuration
=
Ver la configuraci
ó
n
View\
Configuration
=
Ver la configuraci
\u
00f3
n
Back\
to\
Dashboard
=
Volver al Panel de control
wipe.out.confirm
=
\u
00bfEst
\u
00e1s seguro de que quieres limpiar el espacio de trabajo?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_fr.properties
浏览文件 @
bcd94569
...
...
@@ -21,10 +21,11 @@
# THE SOFTWARE.
Back\
to\
Dashboard
=
Retour au tableau de bord
Status
=
\u
00
C
9tat
Status
=
\u
00
c
9tat
Changes
=
Modifications
Workspace
=
Espace de travail
delete
=
Supprimer ce {0}
Configure
=
Configurer
Build\
scheduled
=
Construction programm
\u
00E9e
Wipe\
Out\
Workspace
=
Effacer le r
\u
00E9pertoire de travail
Build\
scheduled
=
Construction programm
\u
00e9e
Wipe\
Out\
Workspace
=
Effacer le r
\u
00e9pertoire de travail
wipe.out.confirm
=
Voulez-vous vraiment effacer le r
\u
00e9pertoire de travail?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_hu.properties
浏览文件 @
bcd94569
...
...
@@ -21,10 +21,11 @@
# THE SOFTWARE.
Back\
to\
Dashboard
=
Build\
scheduled
=
Id
\u0151
z
\u
00EDtett
\u
00E9p
\u
00EDt
\u
00E9s
Changes
=
V
\u
00E1ltoz
\u
00E1sok
Configure
=
Be
\u
00E1ll
\u
00EDt
\u
00E1sok
Status
=
\u
00C1llapot
Wipe\
Out\
Workspace
=
Munkater
\u
00FClet t
\u
00F6rl
\u
00E9se
Workspace
=
Munkater
\u
00FClet
delete
=
T
\u
00F6rl
\u
00E9s {0}
Build\
scheduled
=
Id
\u0151
z
\u
00edtett
\u
00e9p
\u
00edt
\u
00e9s
Changes
=
V
\u
00e1ltoz
\u
00e1sok
Configure
=
Be
\u
00e1ll
\u
00edt
\u
00e1sok
Status
=
\u
00c1llapot
Wipe\
Out\
Workspace
=
Munkater
\u
00fclet t
\u
00f6rl
\u
00e9se
Workspace
=
Munkater
\u
00fclet
delete
=
T
\u
00f6rl
\u
00e9s {0}
wipe.out.confirm
=
Biztosan t
\u
00f6r
\u
00f6lni akarja a munkater
\u
00fcletet?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_it.properties
浏览文件 @
bcd94569
...
...
@@ -28,3 +28,4 @@ Status=Stato
Wipe\
Out\
Workspace
=
Pulisci workspace
Workspace
=
Workspace
delete
=
Elimina {0}
wipe.out.confirm
=
Sei sicuro di voler pulire il workspace?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_ja.properties
浏览文件 @
bcd94569
...
...
@@ -29,3 +29,4 @@ delete={0}\u306e\u524a\u9664
Configure
=
\u
8a2d
\u
5b9a
Build\
scheduled
=
\u
30d3
\u
30eb
\u
30c9
\u
304c
\u
30b9
\u
30b1
\u
30b8
\u
30e5
\u
30fc
\u
30eb
\u3055\u
308c
\u
307e
\u3057\u
305f
View\
Configuration
=
\u
8a2d
\u
5b9a
\u
306e
\u
53c2
\u7167
wipe.out.confirm
=
\u
30ef
\u
30fc
\u
30af
\u
30b9
\u
30da
\u
30fc
\u
30b9
\u3092\u
30af
\u
30ea
\u
30a2
\u3057\u3066\u3082\u3088\u
308d
\u3057\u3044\u3067\u3059\u
304b?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_pt_BR.properties
浏览文件 @
bcd94569
...
...
@@ -22,10 +22,11 @@
Back\
to\
Dashboard
=
Voltar para Painel Principal
Status
=
Status
Build\
scheduled
=
Constru
\u
00
E7
\u
00E
3o agendada
Build\
scheduled
=
Constru
\u
00
e7
\u
00e
3o agendada
Changes
=
Mudan
\u
00e7as
Wipe\
Out\
Workspace
=
Limpar Workspace
Workspace
=
\u
00c1rea de Trabalho
delete
=
Excluir {0}
Configure
=
Configurar
View\
Configuration
=
Configurar a View
wipe.out.confirm
=
Tem certeza que quer excluir esse workspace?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_ru.properties
浏览文件 @
bcd94569
...
...
@@ -20,11 +20,12 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
Back\
to\
Dashboard
=
\u
041
D
\u0430
\u0433\u
043B
\u0430\u0432\u
043D
\u0443\u
044E
Back\
to\
Dashboard
=
\u
041
d
\u0430
\u0433\u
043b
\u0430\u0432\u
043d
\u0443\u
044e
Status
=
\u0421\u0442\u0430\u0442\u0443\u0441
Changes
=
\u0418\u0437\u
043c
\u0435\u
043d
\u0435\u
043d
\u0438\u
044f
Wipe\
Out\
Workspace
=
\u
041
E
\u0447\u0438\u0441\u0442\u0438\u0442\u
044C
\u0440\u0430\u0431\u
043E
\u0447\u0435\u0435
\u
043F
\u0440\u
043E
\u0441\u0442\u0440\u0430\u
043D
\u0441\u0442\u0432\u
043E
Workspace
=
\u0421\u0431\u
043
E
\u0440\u
043E
\u0447\u
043D
\u0430\u
044F
\u0434\u0438\u0440\u0435\u
043A
\u0442\u
043E
\u0440\u0438\u
044F
delete
=
\u0423\u0434\u0430\u
043
B
\u0438\u0442\u
044C
{0}
Configure
=
\u
041
D
\u0430\u0441\u0442\u0440\u
043E
\u0439\u
043A
\u0438
Wipe\
Out\
Workspace
=
\u
041
e
\u0447\u0438\u0441\u0442\u0438\u0442\u
044c
\u0440\u0430\u0431\u
043e
\u0447\u0435\u0435
\u
043f
\u0440\u
043e
\u0441\u0442\u0440\u0430\u
043d
\u0441\u0442\u0432\u
043e
Workspace
=
\u0421\u0431\u
043
e
\u0440\u
043e
\u0447\u
043d
\u0430\u
044f
\u0434\u0438\u0440\u0435\u
043a
\u0442\u
043e
\u0440\u0438\u
044f
delete
=
\u0423\u0434\u0430\u
043
b
\u0438\u0442\u
044c
{0}
Configure
=
\u
041
d
\u0430\u0441\u0442\u0440\u
043e
\u0439\u
043a
\u0438
Build\
scheduled
=
\u0421\u0431\u
043e
\u0440\u
043a
\u0430
\u0437\u0430\u
043f
\u
043b
\u0430\u
043d
\u0438\u0440\u
043e
\u0432\u0430\u
043d
\u0430
wipe.out.confirm
=
\u
041f
\u
043e
\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435
,
\u0447\u0442\u
043e
\u0432\u
044b
\u0445\u
043e
\u0442\u0438\u0442\u0435
\u0444\u0438\u0437\u0438\u0447\u0435\u0441\u
043a
\u0438
\u0443\u0434\u0430\u
043b
\u0438\u0442\u
044c
\u0432\u0441\u0435
\u0444\u0430\u0439\u
043b
\u
044b
\u0438\u0437
\u0421\u0431\u
043e
\u0440\u
043e
\u0447\u
043d
\u
043e
\u0439
\u0414\u0438\u0440\u0435\u
043a
\u0442\u
043e
\u0440\u0438\u0438
?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_sv_SE.properties
浏览文件 @
bcd94569
...
...
@@ -22,9 +22,10 @@
Back\
to\
Dashboard
=
Tillbaka till instrumentpanelen
Build\
scheduled
=
Jobb schemalagt
Changes
=
F
\u
00
F6r
\u
00E
4ndringar
Changes
=
F
\u
00
f6r
\u
00e
4ndringar
Configure
=
Konfigurera
Status
=
Status
Wipe\
Out\
Workspace
=
Ta bort arbetsyta
Workspace
=
Arbetsyta
delete
=
Ta bort {0}
wipe.out.confirm
=
\u
00c4r du s
\u
00e4ker p
\u
00e5 att du vill rensa arbetsytan?
core/src/main/resources/hudson/model/AbstractProject/sidepanel_zh_CN.properties
浏览文件 @
bcd94569
...
...
@@ -21,11 +21,12 @@
# THE SOFTWARE.
Back\
to\
Dashboard
=
\u
8fd4
\u
56de
Build\
scheduled
=
\u6784\u
5
EFA
\u
5DF2
\u
5B
89
\u6392
Build\
scheduled
=
\u6784\u
5
efa
\u
5df2
\u
5b
89
\u6392
Changes
=
\u
53d8
\u
66f4
\u
96c6
Configure
=
\u
914
D
\u
7F6E
Configure
=
\u
914
d
\u
7f6e
Status
=
\u
72b6
\u6001
View\
Configuration
=
\u
67
E5
\u
770B
\u
914D
\u
7F6E
View\
Configuration
=
\u
67
e5
\u
770b
\u
914d
\u
7f6e
Wipe\
Out\
Workspace
=
\u
6e05
\u
7a7a
\u
5de5
\u
4f5c
\u
533a
Workspace
=
\u
5de5
\u
4f5c
\u
533a
delete
=
\u5220\u9664
{0}
wipe.out.confirm
=
\u
786e
\u
5b9a
\u
60f3
\u8981\u
6e05
\u
7a7a
\u
5de5
\u
4f5c
\u
533a
\u5417\u
ff1f
core/src/main/resources/hudson/model/AbstractProject/sidepanel_zh_TW.properties
浏览文件 @
bcd94569
...
...
@@ -32,3 +32,4 @@ Build\ scheduled=\u5df2\u6392\u5165\u5efa\u7f6e
delete
=
\u
522a
\u9664
{0}
Configure
=
\u
8a2d
\u
5b9a
View\
Configuration
=
\u
6aa2
\u8996\u
8a2d
\u
5b9a
wipe.out.confirm
=
\u
78ba
\u
5b9a
\u8981\u
6e05
\u9664\u
5de5
\u
4f5c
\u5340
?
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace.jelly
已删除
100644 → 0
浏览文件 @
c4847d1b
<!--
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.
-->
<!-- ask the user if he's ready to wipe out the workspace -->
<?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:i="jelly:fmt">
<l:layout>
<st:include page="sidepanel.jelly" />
<l:main-panel>
<h1><img src="${imagesURL}/48x48/folder-delete.png" alt="" height="48" width="48"/> ${%title}</h1>
<form id="confirmation" method="post" action="doWipeOutWorkspace">
<f:submit value="${%Yes}" />
</form>
</l:main-panel>
</l:layout>
</j:jelly>
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
#
# 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.
title
=
Are you sure about wiping out the workspace?
\ No newline at end of file
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_da.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
Yes
=
Ja
title
=
Er du sikker p
\u
00e5 at du vil slette arbejdsomr
\u
00e5det?
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_de.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
#
# 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.
title
=
Sind Sie sicher, dass sie den Arbeitsbereich löschen möchten?
Yes
=
Ja
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_es.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
#
# 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.
title
=
¿Estás seguro de que quieres limpiar el espacio de trabajo?
Yes
=
Sí
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_fr.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
title
=
Voulez-vous vraiment effacer le répertoire de travail?
Yes
=
Oui
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_hu.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
Yes
=
Igen
title
=
Biztosan t
\u
00F6r
\u
00F6lni akarja a munkater
\u
00FCletet?
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_it.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
Yes
=
Si
title
=
Sei sicuro di voler pulire il workspace?
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_ja.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# The MIT License
#
# Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Seiji Sogabe
#
# 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.
title
=
\u
30ef
\u
30fc
\u
30af
\u
30b9
\u
30da
\u
30fc
\u
30b9
\u3092\u
30af
\u
30ea
\u
30a2
\u3057\u3066\u3082\u3088\u
308d
\u3057\u3044\u3067\u3059\u
304b?
Yes
=
\u
5b9f
\u
884c
\ No newline at end of file
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_pt_BR.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# The MIT License
#
# Copyright (c) 2004-2010, Sun Microsystems, Inc., 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.
Yes
=
Sim
# Are you sure about wiping out the workspace?
title
=
Tem certeza que quer excluir esse workspace?
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_ru.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
Yes
=
\u0414\u0430
title
=
\u
041F
\u
043E
\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435
,
\u0447\u0442\u
043E
\u0432\u
044B
\u0445\u
043E
\u0442\u0438\u0442\u0435
\u0444\u0438\u0437\u0438\u0447\u0435\u0441\u
043A
\u0438
\u0443\u0434\u0430\u
043B
\u0438\u0442\u
044C
\u0432\u0441\u0435
\u0444\u0430\u0439\u
043B
\u
044B
\u0438\u0437
\u0421\u0431\u
043E
\u0440\u
043E
\u0447\u
043D
\u
043E
\u0439
\u0414\u0438\u0440\u0435\u
043A
\u0442\u
043E
\u0440\u0438\u0438
?
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_sv_SE.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
Yes
=
Ja
title
=
\u
00C4r du s
\u
00E4ker p
\u
00E5 att du vill rensa arbetsytan?
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_zh_CN.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
Yes
=
\u
662F
title
=
\u
786E
\u
5B9A
\u
60F3
\u8981\u
6E05
\u
7A7A
\u
5DE5
\u
4F5C
\u
533A
\u5417\u
FF1F
core/src/main/resources/hudson/model/AbstractProject/wipeOutWorkspace_zh_TW.properties
已删除
100644 → 0
浏览文件 @
c4847d1b
# 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.
title
=
\u
78ba
\u
5b9a
\u8981\u
6e05
\u9664\u
5de5
\u
4f5c
\u5340
?
Yes
=
\u
662f
core/src/main/resources/lib/layout/confirmationLink.jelly
浏览文件 @
bcd94569
...
...
@@ -38,13 +38,15 @@ THE SOFTWARE.
A confirmation dialog message.
</st:attribute>
</st:documentation>
<j:set
var=
"id"
value=
"${h.generateId()}"
/>
<form
method=
"${post ? 'POST' : 'GET'}"
action=
"${attrs.href}"
name=
"${id}"
/>
<a
href=
"#"
onclick=
"confirmPOST('${id}', '${message}')"
><d:invokeBody/></a>
<a
href=
"#"
onclick=
"confirmPOST(${post ?: 'false'}, '${attrs.href}', '${h.jsStringEscape(message)}')"
><d:invokeBody/></a>
<script>
function confirmPOST(
id
, message) {
function confirmPOST(
post, href
, message) {
if (confirm(message)) {
document[id].submit();
var form = document.createElement('form');
form.setAttribute('method', post ? 'POST' : 'GET');
form.setAttribute('action', href);
document.body.appendChild(form);
form.submit();
}
return false;
}
...
...
core/src/main/resources/lib/layout/task.jelly
浏览文件 @
bcd94569
...
...
@@ -67,6 +67,10 @@ THE SOFTWARE.
(onclick supersedes this except in the context menu.)
(since 1.512)
</st:attribute>
<st:attribute name="confirmationMessage">
Message to use for confirmation, if requested; defaults to title.
(since 1.512)
</st:attribute>
</st:documentation>
<!--
...
...
@@ -123,7 +127,7 @@ THE SOFTWARE.
<j:choose>
<j:when test="${requiresConfirmation and not attrs.onClick}">
<l:confirmationLink href="${href}" post="${post}">
<l:confirmationLink href="${href}" post="${post}"
message="${confirmationMessage ?: title}"
>
<img width="24" height="24" style="margin: 2px;" alt="" src="${icon}"/>
</l:confirmationLink>
</j:when>
...
...
@@ -137,7 +141,7 @@ THE SOFTWARE.
<j:choose>
<j:when test="${requiresConfirmation and not attrs.onClick}">
<l:confirmationLink href="${href}" post="${post}">
<l:confirmationLink href="${href}" post="${post}"
message="${confirmationMessage ?: title}"
>
<j:choose>
<j:when test="${match}">
<b>${title}</b>
...
...
test/src/main/java/org/jvnet/hudson/test/MockFolder.java
浏览文件 @
bcd94569
...
...
@@ -26,27 +26,40 @@ package org.jvnet.hudson.test;
import
hudson.Extension
;
import
hudson.model.AbstractItem
;
import
hudson.model.Action
;
import
hudson.model.AllView
;
import
hudson.model.FreeStyleProject
;
import
hudson.model.Hudson
;
import
hudson.model.Item
;
import
hudson.model.ItemGroup
;
import
hudson.model.ItemGroupMixIn
;
import
hudson.model.Job
;
import
hudson.model.TopLevelItem
;
import
hudson.model.TopLevelItemDescriptor
;
import
hudson.model.View
;
import
hudson.model.ViewGroup
;
import
hudson.model.ViewGroupMixIn
;
import
hudson.util.Function1
;
import
hudson.views.DefaultViewsTabBar
;
import
hudson.views.ViewsTabBar
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.TreeMap
;
import
javax.servlet.ServletException
;
import
jenkins.model.Jenkins
;
import
jenkins.model.ModifiableTopLevelItemGroup
;
import
org.kohsuke.stapler.StaplerFallback
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.WebMethod
;
/**
* Minimal implementation of a modifiable item group akin to the CloudBees Folders plugin.
...
...
@@ -54,9 +67,12 @@ import org.kohsuke.stapler.StaplerResponse;
* @since 1.494
*/
@SuppressWarnings
({
"unchecked"
,
"rawtypes"
})
// the usual API mistakes
public
class
MockFolder
extends
AbstractItem
implements
ModifiableTopLevelItemGroup
,
TopLevelItem
{
// could be a ViewGroup too
public
class
MockFolder
extends
AbstractItem
implements
ModifiableTopLevelItemGroup
,
TopLevelItem
,
ViewGroup
,
StaplerFallback
{
private
transient
Map
<
String
,
TopLevelItem
>
items
=
new
TreeMap
<
String
,
TopLevelItem
>();
private
final
List
<
View
>
views
=
new
ArrayList
<
View
>(
Collections
.
singleton
(
new
AllView
(
"All"
,
this
)));
private
String
primaryView
;
private
ViewsTabBar
viewsTabBar
;
private
MockFolder
(
ItemGroup
parent
,
String
name
)
{
super
(
parent
,
name
);
...
...
@@ -102,6 +118,20 @@ public class MockFolder extends AbstractItem implements ModifiableTopLevelItemGr
};
}
private
ViewGroupMixIn
vgmixin
()
{
return
new
ViewGroupMixIn
(
this
)
{
@Override
protected
List
<
View
>
views
()
{
return
views
;
}
@Override
protected
String
primaryView
()
{
return
primaryView
!=
null
?
primaryView
:
views
.
get
(
0
).
getViewName
();
}
@Override
protected
void
primaryView
(
String
newName
)
{
primaryView
=
newName
;
}
};
}
@Override
public
<
T
extends
TopLevelItem
>
T
copy
(
T
src
,
String
name
)
throws
IOException
{
return
mixin
().
copy
(
src
,
name
);
}
...
...
@@ -145,6 +175,63 @@ public class MockFolder extends AbstractItem implements ModifiableTopLevelItemGr
return
Jenkins
.
getInstance
().
getDescriptorByType
(
DescriptorImpl
.
class
);
}
public
void
addView
(
View
view
)
throws
IOException
{
vgmixin
().
addView
(
view
);
}
@Override
public
boolean
canDelete
(
View
view
)
{
return
vgmixin
().
canDelete
(
view
);
}
@Override
public
void
deleteView
(
View
view
)
throws
IOException
{
vgmixin
().
deleteView
(
view
);
}
@Override
public
Collection
<
View
>
getViews
()
{
return
vgmixin
().
getViews
();
}
@Override
public
View
getView
(
String
name
)
{
return
vgmixin
().
getView
(
name
);
}
@Override
public
View
getPrimaryView
()
{
return
vgmixin
().
getPrimaryView
();
}
@Override
public
void
onViewRenamed
(
View
view
,
String
oldName
,
String
newName
)
{
vgmixin
().
onViewRenamed
(
view
,
oldName
,
newName
);
}
@Override
public
ViewsTabBar
getViewsTabBar
()
{
if
(
viewsTabBar
==
null
)
{
viewsTabBar
=
new
DefaultViewsTabBar
();
}
return
viewsTabBar
;
}
@Override
public
ItemGroup
<?
extends
TopLevelItem
>
getItemGroup
()
{
return
this
;
}
@Override
public
List
<
Action
>
getViewActions
()
{
// XXX what should the default be? View.getOwnerViewActions uses Jenkins.actions; Jenkins.viewActions would make more sense as a default;
// or should it be empty by default since non-top-level folders probably do not need the same actions as root?
return
Collections
.
emptyList
();
}
@Override
public
Object
getStaplerFallback
()
{
return
getPrimaryView
();
}
/**
* Same as {@link #getItem} but named this way as a {@link WebMethod}.
* @see Hudson#getJob
*/
public
TopLevelItem
getJob
(
String
name
)
{
return
getItem
(
name
);
}
@Extension
public
static
class
DescriptorImpl
extends
TopLevelItemDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
test/src/test/java/hudson/console/ConsoleAnnotatorTest.java
浏览文件 @
bcd94569
...
...
@@ -66,7 +66,8 @@ public class ConsoleAnnotatorTest extends HudsonTestCase {
assertTrue
(
raw
.
getContent
().
contains
(
nl
+
"---"
+
nl
+
"ooo"
+
nl
+
"ooo"
+
nl
));
// there should be two 'ooo's
assertEquals
(
3
,
rsp
.
asXml
().
split
(
"ooo"
).
length
);
String
xml
=
rsp
.
asXml
();
assertEquals
(
xml
,
3
,
xml
.
split
(
"ooo"
).
length
);
}
/**
...
...
test/src/test/java/hudson/model/AbstractProjectTest.java
浏览文件 @
bcd94569
...
...
@@ -24,6 +24,8 @@
package
hudson.model
;
import
com.gargoylesoftware.htmlunit.ElementNotFoundException
;
import
com.gargoylesoftware.htmlunit.HttpMethod
;
import
com.gargoylesoftware.htmlunit.WebRequestSettings
;
import
com.gargoylesoftware.htmlunit.html.HtmlForm
;
import
com.gargoylesoftware.htmlunit.html.HtmlInput
;
import
com.gargoylesoftware.htmlunit.html.HtmlPage
;
...
...
@@ -58,6 +60,7 @@ import java.util.concurrent.Future;
import
org.apache.commons.io.FileUtils
;
import
java.lang.ref.WeakReference
;
import
java.net.HttpURLConnection
;
import
java.net.URL
;
import
org.jvnet.hudson.test.MockFolder
;
/**
...
...
@@ -85,13 +88,7 @@ public class AbstractProjectTest extends HudsonTestCase {
assertTrue
(
"Workspace should exist by now"
,
b
.
getWorkspace
().
exists
());
// emulate the user behavior
WebClient
webClient
=
new
WebClient
();
HtmlPage
page
=
webClient
.
getPage
(
project
);
page
=
(
HtmlPage
)
page
.
getFirstAnchorByText
(
"Workspace"
).
click
();
page
=
(
HtmlPage
)
page
.
getFirstAnchorByText
(
"Wipe Out Workspace"
).
click
();
page
=
(
HtmlPage
)((
HtmlForm
)
page
.
getElementById
(
"confirmation"
)).
submit
(
null
);
project
.
doDoWipeOutWorkspace
();
assertFalse
(
"Workspace should be gone by now"
,
b
.
getWorkspace
().
exists
());
...
...
@@ -382,4 +379,28 @@ public class AbstractProjectTest extends HudsonTestCase {
assertFalse
(
b
.
getRootDir
().
isDirectory
());
}
@Bug
(
17575
)
public
void
testDeleteRedirect
()
throws
Exception
{
createFreeStyleProject
(
"j1"
);
assertEquals
(
""
,
deleteRedirectTarget
(
"job/j1"
));
createFreeStyleProject
(
"j2"
);
Jenkins
.
getInstance
().
addView
(
new
AllView
(
"v1"
));
assertEquals
(
"view/v1/"
,
deleteRedirectTarget
(
"view/v1/job/j2"
));
MockFolder
d
=
Jenkins
.
getInstance
().
createProject
(
MockFolder
.
class
,
"d"
);
d
.
addView
(
new
AllView
(
"v2"
));
d
.
createProject
(
FreeStyleProject
.
class
,
"j3"
);
d
.
createProject
(
FreeStyleProject
.
class
,
"j4"
);
d
.
createProject
(
FreeStyleProject
.
class
,
"j5"
);
assertEquals
(
"job/d/"
,
deleteRedirectTarget
(
"job/d/job/j3"
));
assertEquals
(
"job/d/view/v2/"
,
deleteRedirectTarget
(
"job/d/view/v2/job/j4"
));
assertEquals
(
"view/v1/job/d/"
,
deleteRedirectTarget
(
"view/v1/job/d/job/j5"
));
}
private
String
deleteRedirectTarget
(
String
job
)
throws
Exception
{
WebClient
wc
=
new
WebClient
();
String
base
=
wc
.
getContextPath
();
String
loc
=
wc
.
getPage
(
wc
.
addCrumb
(
new
WebRequestSettings
(
new
URL
(
base
+
job
+
"/doDelete"
),
HttpMethod
.
POST
))).
getWebResponse
().
getUrl
().
toString
();
assertTrue
(
loc
,
loc
.
startsWith
(
base
));
return
loc
.
substring
(
base
.
length
());
}
}
test/src/test/java/hudson/model/HudsonTest.java
浏览文件 @
bcd94569
...
...
@@ -44,8 +44,8 @@ import org.jvnet.hudson.test.Email;
import
org.jvnet.hudson.test.HudsonTestCase
;
import
org.jvnet.hudson.test.recipes.LocalData
;
import
static
javax
.
servlet
.
http
.
HttpServletResponse
.
SC_FORBIDDEN
;
import
java.lang.reflect.Field
;
import
java.net.HttpURLConnection
;
import
java.net.URL
;
import
java.util.List
;
...
...
@@ -152,10 +152,10 @@ public class HudsonTest extends HudsonTestCase {
// try to delete it by hitting the final URL directly
WebRequestSettings
req
=
new
WebRequestSettings
(
new
URL
(
wc
.
getContextPath
()+
"computer/(master)/doDelete"
),
HttpMethod
.
POST
);
try
{
wc
.
getPage
(
req
);
wc
.
getPage
(
wc
.
addCrumb
(
req
)
);
fail
(
"Error code expected"
);
}
catch
(
FailingHttpStatusCodeException
e
)
{
assertEquals
(
SC_FORBIDDEN
,
e
.
getStatusCode
());
assertEquals
(
HttpURLConnection
.
HTTP_BAD_REQUEST
,
e
.
getStatusCode
());
}
// the master computer object should be still here
...
...
test/src/test/java/hudson/model/ManagementLinkTest.java
浏览文件 @
bcd94569
...
...
@@ -38,11 +38,9 @@ public class ManagementLinkTest extends HudsonTestCase {
*/
public
void
testLinks
()
throws
Exception
{
HtmlPage
page
=
new
WebClient
().
goTo
(
"manage"
);
List
<?>
anchors
=
page
.
selectNodes
(
"id('management-links')//*[@class='link']/a"
);
List
<?>
anchors
=
page
.
selectNodes
(
"id('management-links')//*[@class='link']/a
[not(@onclick)]
"
);
assertTrue
(
anchors
.
size
()>=
8
);
for
(
HtmlAnchor
e
:
(
List
<
HtmlAnchor
>)
anchors
)
{
if
(
e
.
getHrefAttribute
().
endsWith
(
"reload"
))
continue
;
// can't really click this
e
.
click
();
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录