Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
99f14f72
J
jenkins
项目概览
xxadev
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
3
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,发现更多精彩内容 >>
提交
99f14f72
编写于
1月 15, 2013
作者:
V
Vojtech Juranek
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'jenkins/master'
上级
db9f8274
c757e654
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
19 addition
and
7 deletion
+19
-7
changelog.html
changelog.html
+3
-0
core/src/main/java/hudson/model/View.java
core/src/main/java/hudson/model/View.java
+16
-7
未找到文件。
changelog.html
浏览文件 @
99f14f72
...
@@ -58,6 +58,9 @@ Upcoming changes</a>
...
@@ -58,6 +58,9 @@ Upcoming changes</a>
<li
class=
bug
>
<li
class=
bug
>
Reduced size of memory leak in render-on-demand functionality used e.g. in configuration pages.
Reduced size of memory leak in render-on-demand functionality used e.g. in configuration pages.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-16341"
>
issue 16341
</a>
)
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-16341"
>
issue 16341
</a>
)
<li
class=
bug
>
Improving responsiveness of
<b>
People
</b>
page when using Gravatar plugin.
(
<a
href=
"https://issues.jenkins-ci.org/browse/JENKINS-16342"
>
issue 16342
</a>
)
<li
class=
bug
>
<li
class=
bug
>
Improved logging and error output from SSHD in Jenkins.
Improved logging and error output from SSHD in Jenkins.
<li
class=
bug
>
<li
class=
bug
>
...
...
core/src/main/java/hudson/model/View.java
浏览文件 @
99f14f72
...
@@ -578,6 +578,9 @@ public abstract class View extends AbstractModelObject implements AccessControll
...
@@ -578,6 +578,9 @@ public abstract class View extends AbstractModelObject implements AccessControll
*/
*/
private
AbstractProject
project
;
private
AbstractProject
project
;
/** @see UserAvatarResolver */
String
avatar
;
UserInfo
(
User
user
,
AbstractProject
p
,
Calendar
lastChange
)
{
UserInfo
(
User
user
,
AbstractProject
p
,
Calendar
lastChange
)
{
this
.
user
=
user
;
this
.
user
=
user
;
this
.
project
=
p
;
this
.
project
=
p
;
...
@@ -779,12 +782,16 @@ public abstract class View extends AbstractModelObject implements AccessControll
...
@@ -779,12 +782,16 @@ public abstract class View extends AbstractModelObject implements AccessControll
}
}
for
(
ChangeLogSet
.
Entry
entry
:
build
.
getChangeSet
())
{
for
(
ChangeLogSet
.
Entry
entry
:
build
.
getChangeSet
())
{
User
user
=
entry
.
getAuthor
();
User
user
=
entry
.
getAuthor
();
synchronized
(
this
)
{
UserInfo
info
=
users
.
get
(
user
);
UserInfo
info
=
users
.
get
(
user
);
if
(
info
==
null
)
{
if
(
info
==
null
)
{
users
.
put
(
user
,
new
UserInfo
(
user
,
p
,
build
.
getTimestamp
()));
UserInfo
userInfo
=
new
UserInfo
(
user
,
p
,
build
.
getTimestamp
());
userInfo
.
avatar
=
UserAvatarResolver
.
resolve
(
user
,
iconSize
);
synchronized
(
this
)
{
users
.
put
(
user
,
userInfo
);
modified
.
add
(
user
);
modified
.
add
(
user
);
}
}
else
if
(
info
.
getLastChange
().
before
(
build
.
getTimestamp
()))
{
}
else
if
(
info
.
getLastChange
().
before
(
build
.
getTimestamp
()))
{
synchronized
(
this
)
{
info
.
project
=
p
;
info
.
project
=
p
;
info
.
lastChange
=
build
.
getTimestamp
();
info
.
lastChange
=
build
.
getTimestamp
();
modified
.
add
(
user
);
modified
.
add
(
user
);
...
@@ -809,8 +816,10 @@ public abstract class View extends AbstractModelObject implements AccessControll
...
@@ -809,8 +816,10 @@ public abstract class View extends AbstractModelObject implements AccessControll
continue
;
continue
;
}
}
if
(!
users
.
containsKey
(
u
))
{
if
(!
users
.
containsKey
(
u
))
{
UserInfo
userInfo
=
new
UserInfo
(
u
,
null
,
null
);
userInfo
.
avatar
=
UserAvatarResolver
.
resolve
(
u
,
iconSize
);
synchronized
(
this
)
{
synchronized
(
this
)
{
users
.
put
(
u
,
new
UserInfo
(
u
,
null
,
null
)
);
users
.
put
(
u
,
userInfo
);
modified
.
add
(
u
);
modified
.
add
(
u
);
}
}
}
}
...
@@ -826,7 +835,7 @@ public abstract class View extends AbstractModelObject implements AccessControll
...
@@ -826,7 +835,7 @@ public abstract class View extends AbstractModelObject implements AccessControll
accumulate
(
"id"
,
u
.
getId
()).
accumulate
(
"id"
,
u
.
getId
()).
accumulate
(
"fullName"
,
u
.
getFullName
()).
accumulate
(
"fullName"
,
u
.
getFullName
()).
accumulate
(
"url"
,
u
.
getUrl
()).
accumulate
(
"url"
,
u
.
getUrl
()).
accumulate
(
"avatar"
,
UserAvatarResolver
.
resolve
(
u
,
iconSize
)
).
accumulate
(
"avatar"
,
i
.
avatar
).
accumulate
(
"timeSortKey"
,
i
.
getTimeSortKey
()).
accumulate
(
"timeSortKey"
,
i
.
getTimeSortKey
()).
accumulate
(
"lastChangeTimeString"
,
i
.
getLastChangeTimeString
());
accumulate
(
"lastChangeTimeString"
,
i
.
getLastChangeTimeString
());
AbstractProject
<?,?>
p
=
i
.
getProject
();
AbstractProject
<?,?>
p
=
i
.
getProject
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录