Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
609487a0
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,发现更多精彩内容 >>
提交
609487a0
编写于
4月 10, 2013
作者:
V
Vincent Latombe
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' into views_include_jobs_folder
Conflicts: changelog.html
上级
0c0959ec
b22b17c0
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
37 addition
and
14 deletion
+37
-14
changelog.html
changelog.html
+6
-4
core/src/main/java/hudson/model/AbstractProject.java
core/src/main/java/hudson/model/AbstractProject.java
+1
-1
core/src/main/java/hudson/model/Label.java
core/src/main/java/hudson/model/Label.java
+2
-2
core/src/main/java/hudson/util/ProcessTree.java
core/src/main/java/hudson/util/ProcessTree.java
+12
-1
core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
...in/resources/hudson/model/AbstractProject/sidepanel.jelly
+1
-1
core/src/main/resources/hudson/model/Messages.properties
core/src/main/resources/hudson/model/Messages.properties
+2
-1
core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly
...ain/resources/hudson/views/BuildButtonColumn/column.jelly
+13
-4
未找到文件。
changelog.html
浏览文件 @
609487a0
...
...
@@ -57,7 +57,12 @@ Upcoming changes</a>
<ul
class=
image
>
<li
class=
rfe
>
Views can now include jobs located within folders
<li
class=
>
<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>
)
</ul>
</div>
<!--=TRUNK-END=-->
...
...
@@ -74,9 +79,6 @@ Upcoming changes</a>
<li
class=
rfe
>
Better display of parameters in queue items.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-17454"
>
issue 17454
</a>
)
<li
class=
'bug'
>
"projects tied to slave" shows unrelated maven module jobs
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-17451"
>
issue 17451
</a>
)
<li
class=
'bug'
>
sort order of plugin list is not working by default.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-17039"
>
issue 17039
</a>
)
...
...
core/src/main/java/hudson/model/AbstractProject.java
浏览文件 @
609487a0
...
...
@@ -448,7 +448,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
* @since 1.401
*/
public
String
getBuildNowText
()
{
return
AlternativeUiTextProvider
.
get
(
BUILD_NOW_TEXT
,
this
,
Messages
.
AbstractProject_BuildNow
());
return
AlternativeUiTextProvider
.
get
(
BUILD_NOW_TEXT
,
this
,
isParameterized
()
?
Messages
.
AbstractProject_build_with_parameters
()
:
Messages
.
AbstractProject_BuildNow
());
}
/**
...
...
core/src/main/java/hudson/model/Label.java
浏览文件 @
609487a0
...
...
@@ -335,13 +335,13 @@ public abstract class Label extends Actionable implements Comparable<Label>, Mod
@Exported
public
List
<
AbstractProject
>
getTiedJobs
()
{
List
<
AbstractProject
>
r
=
new
ArrayList
<
AbstractProject
>();
for
(
AbstractProject
<?,?>
p
:
Jenkins
.
getInstance
().
getItems
(
AbstractProject
.
class
))
{
for
(
AbstractProject
<?,?>
p
:
Jenkins
.
getInstance
().
get
All
Items
(
AbstractProject
.
class
))
{
if
(
this
.
equals
(
p
.
getAssignedLabel
()))
r
.
add
(
p
);
}
return
r
;
}
public
boolean
contains
(
Node
node
)
{
return
getNodes
().
contains
(
node
);
}
...
...
core/src/main/java/hudson/util/ProcessTree.java
浏览文件 @
609487a0
...
...
@@ -67,6 +67,7 @@ import java.util.logging.Logger;
import
static
com
.
sun
.
jna
.
Pointer
.
NULL
;
import
static
hudson
.
util
.
jna
.
GNUCLibrary
.
LIBC
;
import
static
java
.
util
.
logging
.
Level
.
FINE
;
import
static
java
.
util
.
logging
.
Level
.
FINER
;
import
static
java
.
util
.
logging
.
Level
.
FINEST
;
...
...
@@ -424,7 +425,17 @@ public abstract class ProcessTree implements Iterable<OSProcess>, IProcessTree,
@Override
public
synchronized
EnvVars
getEnvironmentVariables
()
{
if
(
env
==
null
)
env
=
new
EnvVars
(
p
.
getEnvironmentVariables
());
if
(
env
!=
null
)
return
env
;
env
=
new
EnvVars
();
try
{
env
.
putAll
(
p
.
getEnvironmentVariables
());
}
catch
(
WinpException
e
)
{
LOGGER
.
log
(
FINE
,
"Failed to get environment variable "
,
e
);
}
return
env
;
}
});
...
...
core/src/main/resources/hudson/model/AbstractProject/sidepanel.jelly
浏览文件 @
609487a0
...
...
@@ -46,7 +46,7 @@ THE SOFTWARE.
<j:if test="${it.configurable}">
<j:if test="${it.buildable}">
<l:task icon="images/24x24/clock.png" href="${url}/build?delay=0sec" title="${it.buildNowText}"
onclick="${it.parameterized?null:'return build(this)'}" post="
true
" permission="${it.BUILD}"/>
onclick="${it.parameterized?null:'return build(this)'}" post="
${!it.parameterized}
" permission="${it.BUILD}"/>
<script>
function build(a) {
new Ajax.Request(a.href);
...
...
core/src/main/resources/hudson/model/Messages.properties
浏览文件 @
609487a0
...
...
@@ -37,6 +37,7 @@ AbstractProject.Pronoun=Project
AbstractProject.Aborted
=
Aborted
AbstractProject.BuildInProgress
=
Build #{0} is already in progress{1}
AbstractProject.BuildNow
=
Build Now
AbstractProject.build_with_parameters
=
Build with Parameters
AbstractProject.UpstreamBuildInProgress
=
Upstream project {0} is already building.
AbstractProject.DownstreamBuildInProgress
=
Downstream project {0} is already building.
AbstractProject.Disabled
=
Build disabled
...
...
@@ -345,4 +346,4 @@ BuildAuthorizationToken.InvalidTokenProvided=Invalid token provided.
Jenkins.CheckDisplayName.NameNotUniqueWarning
=
The display name, "{0}", is used as a name by a job and could cause confusing search results.
Jenkins.CheckDisplayName.DisplayNameNotUniqueWarning
=
The display name, "{0}", is already in use by another job and could cause confusion and delay.
Jenkins.NotAllowedName
=
"{0}"
is not allowed name
\ No newline at end of file
Jenkins.NotAllowedName
=
"{0}"
is not allowed name
core/src/main/resources/hudson/views/BuildButtonColumn/column.jelly
浏览文件 @
609487a0
...
...
@@ -27,10 +27,19 @@ THE SOFTWARE.
<td>
<j:if test="${job.buildable and job.hasPermission(job.BUILD)}">
<a href="${jobBaseUrl}${job.shortUrl}build?delay=0sec">
<img src="${imagesURL}/${subIconSize}/clock.png"
title="${%Schedule a build}" alt="${%Schedule a build}"
onclick="${job.parameterized ? null : 'return build(this)'}"
border="0"/>
<j:choose>
<j:when test="${job.parameterized}">
<img src="${imagesURL}/${subIconSize}/clock.png"
title="${%Schedule a build with parameters}" alt="${%Schedule a build with parameters}"
border="0"/>
</j:when>
<j:otherwise>
<img src="${imagesURL}/${subIconSize}/clock.png"
title="${%Schedule a build}" alt="${%Schedule a build}"
onclick="return build(this)"
border="0"/>
</j:otherwise>
</j:choose>
</a>
<script>
function build(img) {
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录