Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
c03839b4
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,发现更多精彩内容 >>
提交
c03839b4
编写于
1月 04, 2013
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
doc improvement
上级
310e22db
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
5 addition
and
5 deletion
+5
-5
core/src/main/java/hudson/model/AdministrativeMonitor.java
core/src/main/java/hudson/model/AdministrativeMonitor.java
+4
-4
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/java/jenkins/model/Jenkins.java
+1
-1
未找到文件。
core/src/main/java/hudson/model/AdministrativeMonitor.java
浏览文件 @
c03839b4
...
@@ -38,16 +38,16 @@ import org.kohsuke.stapler.StaplerRequest;
...
@@ -38,16 +38,16 @@ import org.kohsuke.stapler.StaplerRequest;
import
org.kohsuke.stapler.StaplerResponse
;
import
org.kohsuke.stapler.StaplerResponse
;
/**
/**
* Checks the health of a subsystem of
Hudson
and if there's something
* Checks the health of a subsystem of
Jenkins
and if there's something
* that requires administrator's attention, notify the administrator.
* that requires administrator's attention, notify the administrator.
*
*
* <h2>How to implement?</h2>
* <h2>How to implement?</h2>
* <p>
* <p>
* Plugins who wish to contribute such notifications can implement this
* Plugins who wish to contribute such notifications can implement this
* class and put {@link Extension} on it to register it to
Hudson
.
* class and put {@link Extension} on it to register it to
Jenkins
.
*
*
* <p>
* <p>
* Once installed, it's the implement
o
r's responsibility to perform
* Once installed, it's the implement
e
r's responsibility to perform
* monitoring and activate/deactivate the monitor accordingly. Sometimes
* monitoring and activate/deactivate the monitor accordingly. Sometimes
* this can be done by updating a flag from code (see {@link SCMTrigger}
* this can be done by updating a flag from code (see {@link SCMTrigger}
* for one such example), while other times it's more convenient to do
* for one such example), while other times it's more convenient to do
...
@@ -63,7 +63,7 @@ import org.kohsuke.stapler.StaplerResponse;
...
@@ -63,7 +63,7 @@ import org.kohsuke.stapler.StaplerResponse;
* <dd>
* <dd>
* If {@link #isActivated()} returns true, Hudson will use the <tt>message.jelly</tt>
* If {@link #isActivated()} returns true, Hudson will use the <tt>message.jelly</tt>
* view of this object to render the warning text. This happens in the
* view of this object to render the warning text. This happens in the
* <tt>http://SERVER/
hudson
/manage</tt> page. This view should typically render
* <tt>http://SERVER/
jenkins
/manage</tt> page. This view should typically render
* a DIV box with class='error' or class='warning' with a human-readable text
* a DIV box with class='error' or class='warning' with a human-readable text
* inside it. It often also contains a link to a page that provides more details
* inside it. It often also contains a link to a page that provides more details
* about the problem.
* about the problem.
...
...
core/src/main/java/jenkins/model/Jenkins.java
浏览文件 @
c03839b4
...
@@ -1485,7 +1485,7 @@ public class Jenkins extends AbstractCIBase implements ModifiableTopLevelItemGro
...
@@ -1485,7 +1485,7 @@ public class Jenkins extends AbstractCIBase implements ModifiableTopLevelItemGro
}
}
/**
/**
* Returns true if the current running
Hudson
is upgraded from a version earlier than the specified version.
* Returns true if the current running
Jenkins
is upgraded from a version earlier than the specified version.
*
*
* <p>
* <p>
* This method continues to return true until the system configuration is saved, at which point
* This method continues to return true until the system configuration is saved, at which point
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录