Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
ee29ef55
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,发现更多精彩内容 >>
提交
ee29ef55
编写于
3月 19, 2016
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More symbols
上级
e1c40288
变更
11
显示空白变更内容
内联
并排
Showing
11 changed file
with
22 addition
and
11 deletion
+22
-11
core/src/main/java/hudson/diagnosis/ReverseProxySetupMonitor.java
.../main/java/hudson/diagnosis/ReverseProxySetupMonitor.java
+2
-1
core/src/main/java/hudson/model/RunParameterDefinition.java
core/src/main/java/hudson/model/RunParameterDefinition.java
+2
-1
core/src/main/java/hudson/model/StringParameterDefinition.java
...src/main/java/hudson/model/StringParameterDefinition.java
+2
-1
core/src/main/java/hudson/slaves/RetentionStrategy.java
core/src/main/java/hudson/slaves/RetentionStrategy.java
+1
-1
core/src/main/java/hudson/slaves/SimpleScheduledRetentionStrategy.java
.../java/hudson/slaves/SimpleScheduledRetentionStrategy.java
+2
-1
core/src/main/java/hudson/tasks/Shell.java
core/src/main/java/hudson/tasks/Shell.java
+2
-1
core/src/main/java/hudson/triggers/SCMTrigger.java
core/src/main/java/hudson/triggers/SCMTrigger.java
+2
-1
core/src/main/java/jenkins/diagnostics/SecurityIsOffMonitor.java
...c/main/java/jenkins/diagnostics/SecurityIsOffMonitor.java
+2
-1
core/src/main/java/jenkins/management/ShutdownLink.java
core/src/main/java/jenkins/management/ShutdownLink.java
+2
-1
core/src/main/java/jenkins/management/StatisticsLink.java
core/src/main/java/jenkins/management/StatisticsLink.java
+2
-1
core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java
core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java
+3
-1
未找到文件。
core/src/main/java/hudson/diagnosis/ReverseProxySetupMonitor.java
浏览文件 @
ee29ef55
...
...
@@ -26,6 +26,7 @@ package hudson.diagnosis;
import
hudson.Extension
;
import
hudson.Util
;
import
hudson.model.AdministrativeMonitor
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.HttpRedirect
;
import
org.kohsuke.stapler.HttpResponse
;
import
org.kohsuke.stapler.HttpResponses
;
...
...
@@ -48,7 +49,7 @@ import org.kohsuke.stapler.Stapler;
*
* @author Kohsuke Kawaguchi
*/
@Extension
@Extension
@Symbol
(
"reverseProxy"
)
public
class
ReverseProxySetupMonitor
extends
AdministrativeMonitor
{
private
static
final
Logger
LOGGER
=
Logger
.
getLogger
(
ReverseProxySetupMonitor
.
class
.
getName
());
...
...
core/src/main/java/hudson/model/RunParameterDefinition.java
浏览文件 @
ee29ef55
...
...
@@ -26,6 +26,7 @@ package hudson.model;
import
jenkins.model.Jenkins
;
import
net.sf.json.JSONObject
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.export.Exported
;
...
...
@@ -133,7 +134,7 @@ public class RunParameterDefinition extends SimpleParameterDefinition {
}
}
@Extension
@Extension
@Symbol
({
"run"
,
"runParam"
})
public
static
class
DescriptorImpl
extends
ParameterDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/hudson/model/StringParameterDefinition.java
浏览文件 @
ee29ef55
...
...
@@ -25,6 +25,7 @@ package hudson.model;
import
hudson.Extension
;
import
net.sf.json.JSONObject
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
@@ -69,7 +70,7 @@ public class StringParameterDefinition extends SimpleParameterDefinition {
return
v
;
}
@Extension
@Extension
@Symbol
({
"string"
,
"stringParam"
})
public
static
class
DescriptorImpl
extends
ParameterDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/hudson/slaves/RetentionStrategy.java
浏览文件 @
ee29ef55
...
...
@@ -277,7 +277,7 @@ public abstract class RetentionStrategy<T extends Computer> extends AbstractDesc
return
1
;
}
@Extension
@Extension
@Symbol
(
"demand"
)
public
static
class
DescriptorImpl
extends
Descriptor
<
RetentionStrategy
<?>>
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/hudson/slaves/SimpleScheduledRetentionStrategy.java
浏览文件 @
ee29ef55
...
...
@@ -31,6 +31,7 @@ import hudson.model.Descriptor;
import
hudson.model.Queue
;
import
hudson.scheduler.CronTabList
;
import
hudson.util.FormValidation
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.QueryParameter
;
...
...
@@ -243,7 +244,7 @@ public class SimpleScheduledRetentionStrategy extends RetentionStrategy<SlaveCom
return
(
lastStart
<
now
&&
lastStop
>
now
)
||
(
nextStart
<
now
&&
nextStop
>
now
);
}
@Extension
@Extension
@Symbol
(
"schedule"
)
public
static
class
DescriptorImpl
extends
Descriptor
<
RetentionStrategy
<?>>
{
public
String
getDisplayName
()
{
return
Messages
.
SimpleScheduledRetentionStrategy_displayName
();
...
...
core/src/main/java/hudson/tasks/Shell.java
浏览文件 @
ee29ef55
...
...
@@ -35,6 +35,7 @@ import java.io.ObjectStreamException;
import
hudson.util.LineEndingConversion
;
import
jenkins.security.MasterToSlaveCallable
;
import
net.sf.json.JSONObject
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.QueryParameter
;
...
...
@@ -102,7 +103,7 @@ public class Shell extends CommandInterpreter {
return
new
Shell
(
command
);
}
@Extension
@Extension
@Symbol
(
"shell"
)
public
static
class
DescriptorImpl
extends
BuildStepDescriptor
<
Builder
>
{
/**
* Shell executable, or null to default.
...
...
core/src/main/java/hudson/triggers/SCMTrigger.java
浏览文件 @
ee29ef55
...
...
@@ -48,6 +48,7 @@ import hudson.util.StreamTaskListener;
import
hudson.util.TimeUnit2
;
import
org.apache.commons.io.FileUtils
;
import
org.apache.commons.jelly.XMLOutput
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.DoNotUse
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
@@ -176,7 +177,7 @@ public class SCMTrigger extends Trigger<Item> {
return
new
File
(
job
.
getRootDir
(),
"scm-polling.log"
);
}
@Extension
@Extension
@Symbol
(
"scm"
)
public
static
class
DescriptorImpl
extends
TriggerDescriptor
{
private
static
ThreadFactory
threadFactory
()
{
...
...
core/src/main/java/jenkins/diagnostics/SecurityIsOffMonitor.java
浏览文件 @
ee29ef55
...
...
@@ -3,6 +3,7 @@ package jenkins.diagnostics;
import
hudson.Extension
;
import
hudson.model.AdministrativeMonitor
;
import
jenkins.model.Jenkins
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.StaplerRequest
;
import
org.kohsuke.stapler.StaplerResponse
;
...
...
@@ -17,7 +18,7 @@ import java.io.IOException;
*
* @author Kohsuke Kawaguchi
*/
@Extension
@Extension
@Symbol
(
"securityIsOff"
)
public
class
SecurityIsOffMonitor
extends
AdministrativeMonitor
{
@Override
public
boolean
isActivated
()
{
...
...
core/src/main/java/jenkins/management/ShutdownLink.java
浏览文件 @
ee29ef55
...
...
@@ -27,11 +27,12 @@ package jenkins.management;
import
hudson.Extension
;
import
hudson.model.ManagementLink
;
import
jenkins.model.Jenkins
;
import
org.jenkinsci.Symbol
;
/**
* @author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
*/
@Extension
(
ordinal
=
Integer
.
MIN_VALUE
)
@Extension
(
ordinal
=
Integer
.
MIN_VALUE
)
@Symbol
(
"shutDown"
)
public
class
ShutdownLink
extends
ManagementLink
{
@Override
...
...
core/src/main/java/jenkins/management/StatisticsLink.java
浏览文件 @
ee29ef55
...
...
@@ -26,11 +26,12 @@ package jenkins.management;
import
hudson.Extension
;
import
hudson.model.ManagementLink
;
import
org.jenkinsci.Symbol
;
/**
* @author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
*/
@Extension
(
ordinal
=
Integer
.
MAX_VALUE
-
700
)
@Extension
(
ordinal
=
Integer
.
MAX_VALUE
-
700
)
@Symbol
(
"loadStatistics"
)
public
class
StatisticsLink
extends
ManagementLink
{
@Override
...
...
core/src/main/java/jenkins/triggers/ReverseBuildTrigger.java
浏览文件 @
ee29ef55
...
...
@@ -68,6 +68,7 @@ import org.acegisecurity.Authentication;
import
org.acegisecurity.context.SecurityContext
;
import
org.acegisecurity.context.SecurityContextHolder
;
import
org.apache.commons.lang.StringUtils
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.AncestorInPath
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.QueryParameter
;
...
...
@@ -179,7 +180,8 @@ public final class ReverseBuildTrigger extends Trigger<Job> implements Dependenc
}
}
@Extension
public
static
final
class
DescriptorImpl
extends
TriggerDescriptor
{
@Extension
@Symbol
(
"upstream"
)
public
static
final
class
DescriptorImpl
extends
TriggerDescriptor
{
@Override
public
String
getDisplayName
()
{
return
Messages
.
ReverseBuildTrigger_build_after_other_projects_are_built
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录