Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
26f82463
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,发现更多精彩内容 >>
提交
26f82463
编写于
3月 19, 2016
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
More symbols
上级
1941a559
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
55 addition
and
27 deletion
+55
-27
core/src/main/java/hudson/FileSystemProvisioner.java
core/src/main/java/hudson/FileSystemProvisioner.java
+2
-1
core/src/main/java/hudson/markup/EscapedMarkupFormatter.java
core/src/main/java/hudson/markup/EscapedMarkupFormatter.java
+4
-2
core/src/main/java/hudson/model/FileParameterDefinition.java
core/src/main/java/hudson/model/FileParameterDefinition.java
+2
-1
core/src/main/java/hudson/model/FingerprintCleanupThread.java
.../src/main/java/hudson/model/FingerprintCleanupThread.java
+2
-1
core/src/main/java/hudson/node_monitors/ClockMonitor.java
core/src/main/java/hudson/node_monitors/ClockMonitor.java
+2
-1
core/src/main/java/hudson/security/csrf/DefaultCrumbIssuer.java
...rc/main/java/hudson/security/csrf/DefaultCrumbIssuer.java
+2
-1
core/src/main/java/hudson/slaves/CommandConnector.java
core/src/main/java/hudson/slaves/CommandConnector.java
+2
-1
core/src/main/java/hudson/slaves/ComputerRetentionWork.java
core/src/main/java/hudson/slaves/ComputerRetentionWork.java
+2
-1
core/src/main/java/hudson/slaves/ConnectionActivityMonitor.java
...rc/main/java/hudson/slaves/ConnectionActivityMonitor.java
+2
-1
core/src/main/java/hudson/slaves/EnvironmentVariablesNodeProperty.java
.../java/hudson/slaves/EnvironmentVariablesNodeProperty.java
+2
-1
core/src/main/java/hudson/tasks/Fingerprinter.java
core/src/main/java/hudson/tasks/Fingerprinter.java
+2
-1
core/src/main/java/hudson/tools/CommandInstaller.java
core/src/main/java/hudson/tools/CommandInstaller.java
+2
-1
core/src/main/java/hudson/views/DefaultMyViewsTabBar.java
core/src/main/java/hudson/views/DefaultMyViewsTabBar.java
+2
-1
core/src/main/java/hudson/views/DefaultViewsTabBar.java
core/src/main/java/hudson/views/DefaultViewsTabBar.java
+2
-1
core/src/main/java/jenkins/management/ConfigureLink.java
core/src/main/java/jenkins/management/ConfigureLink.java
+2
-1
core/src/main/java/jenkins/management/ConsoleLink.java
core/src/main/java/jenkins/management/ConsoleLink.java
+2
-1
core/src/main/java/jenkins/model/CoreEnvironmentContributor.java
...c/main/java/jenkins/model/CoreEnvironmentContributor.java
+2
-1
core/src/main/java/jenkins/model/DownloadSettings.java
core/src/main/java/jenkins/model/DownloadSettings.java
+5
-2
core/src/main/java/jenkins/mvn/DefaultGlobalSettingsProvider.java
.../main/java/jenkins/mvn/DefaultGlobalSettingsProvider.java
+2
-1
core/src/main/java/jenkins/mvn/DefaultSettingsProvider.java
core/src/main/java/jenkins/mvn/DefaultSettingsProvider.java
+2
-1
core/src/main/java/jenkins/mvn/FilePathSettingsProvider.java
core/src/main/java/jenkins/mvn/FilePathSettingsProvider.java
+2
-1
core/src/main/java/jenkins/scm/DefaultSCMCheckoutStrategyImpl.java
...main/java/jenkins/scm/DefaultSCMCheckoutStrategyImpl.java
+2
-1
core/src/main/java/jenkins/security/FrameOptionsPageDecorator.java
...main/java/jenkins/security/FrameOptionsPageDecorator.java
+2
-1
core/src/main/java/jenkins/slaves/systemInfo/EnvVarsSlaveInfo.java
...main/java/jenkins/slaves/systemInfo/EnvVarsSlaveInfo.java
+2
-1
core/src/main/java/jenkins/widgets/ExecutorsWidget.java
core/src/main/java/jenkins/widgets/ExecutorsWidget.java
+2
-1
未找到文件。
core/src/main/java/hudson/FileSystemProvisioner.java
浏览文件 @
26f82463
...
...
@@ -34,6 +34,7 @@ import hudson.util.io.ArchiverFactory;
import
jenkins.model.Jenkins
;
import
hudson.model.listeners.RunListener
;
import
hudson.scm.SCM
;
import
org.jenkinsci.Symbol
;
import
java.io.BufferedOutputStream
;
import
java.io.File
;
...
...
@@ -235,7 +236,7 @@ public abstract class FileSystemProvisioner implements ExtensionPoint, Describab
}
}
@Extension
@Extension
@Symbol
(
"default"
)
public
static
final
class
DescriptorImpl
extends
FileSystemProvisionerDescriptor
{
public
boolean
discard
(
FilePath
ws
,
TaskListener
listener
)
throws
IOException
,
InterruptedException
{
// the default provisioner does not do anything special,
...
...
core/src/main/java/hudson/markup/EscapedMarkupFormatter.java
浏览文件 @
26f82463
...
...
@@ -29,10 +29,12 @@ import hudson.markup.MarkupFormatter;
import
hudson.markup.MarkupFormatterDescriptor
;
import
java.io.IOException
;
import
java.io.Writer
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
/**
* @link MarkupFormatter} that treats the input as the escaped html.
*
{
@link MarkupFormatter} that treats the input as the escaped html.
*
* @author Seiji Sogabe
* @since 1.553
...
...
@@ -48,7 +50,7 @@ public class EscapedMarkupFormatter extends MarkupFormatter {
output
.
write
(
Util
.
escape
(
markup
));
}
@Extension
@Extension
@Symbol
(
"plainText"
)
public
static
class
DescriptorImpl
extends
MarkupFormatterDescriptor
{
@Override
...
...
core/src/main/java/hudson/model/FileParameterDefinition.java
浏览文件 @
26f82463
...
...
@@ -24,6 +24,7 @@
package
hudson.model
;
import
net.sf.json.JSONObject
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.StaplerRequest
;
import
hudson.Extension
;
...
...
@@ -56,7 +57,7 @@ public class FileParameterDefinition extends ParameterDefinition {
return
p
;
}
@Extension
@Extension
@Symbol
({
"file"
,
"fileParam"
})
public
static
class
DescriptorImpl
extends
ParameterDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/hudson/model/FingerprintCleanupThread.java
浏览文件 @
26f82463
...
...
@@ -26,6 +26,7 @@ package hudson.model;
import
hudson.Extension
;
import
hudson.ExtensionList
;
import
jenkins.model.Jenkins
;
import
org.jenkinsci.Symbol
;
import
java.io.File
;
import
java.io.FileFilter
;
...
...
@@ -42,7 +43,7 @@ import java.util.regex.Pattern;
*
* @author Kohsuke Kawaguchi
*/
@Extension
@Extension
@Symbol
(
"fingerprintCleanup"
)
public
final
class
FingerprintCleanupThread
extends
AsyncPeriodicWork
{
public
FingerprintCleanupThread
()
{
...
...
core/src/main/java/hudson/node_monitors/ClockMonitor.java
浏览文件 @
26f82463
...
...
@@ -28,6 +28,7 @@ import hudson.model.Node;
import
hudson.remoting.Callable
;
import
hudson.util.ClockDifference
;
import
hudson.Extension
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
@@ -55,7 +56,7 @@ public class ClockMonitor extends NodeMonitor {
@Restricted
(
NoExternalUse
.
class
)
public
static
/*almost final*/
AbstractNodeMonitorDescriptor
<
ClockDifference
>
DESCRIPTOR
;
@Extension
@Extension
@Symbol
(
"clock"
)
public
static
class
DescriptorImpl
extends
AbstractAsyncNodeMonitorDescriptor
<
ClockDifference
>
{
public
DescriptorImpl
()
{
DESCRIPTOR
=
this
;
...
...
core/src/main/java/hudson/security/csrf/DefaultCrumbIssuer.java
浏览文件 @
26f82463
...
...
@@ -23,6 +23,7 @@ import jenkins.security.HexStringConfidentialKey;
import
net.sf.json.JSONObject
;
import
org.acegisecurity.Authentication
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.StaplerRequest
;
...
...
@@ -118,7 +119,7 @@ public class DefaultCrumbIssuer extends CrumbIssuer {
return
defaultAddress
;
}
@Extension
@Extension
@Symbol
(
"default"
)
public
static
final
class
DescriptorImpl
extends
CrumbIssuerDescriptor
<
DefaultCrumbIssuer
>
implements
ModelObject
{
private
final
static
HexStringConfidentialKey
CRUMB_SALT
=
new
HexStringConfidentialKey
(
Jenkins
.
class
,
"crumbSalt"
,
16
);
...
...
core/src/main/java/hudson/slaves/CommandConnector.java
浏览文件 @
26f82463
...
...
@@ -26,6 +26,7 @@ package hudson.slaves;
import
hudson.EnvVars
;
import
hudson.Extension
;
import
hudson.model.TaskListener
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
java.io.IOException
;
...
...
@@ -48,7 +49,7 @@ public class CommandConnector extends ComputerConnector {
return
new
CommandLauncher
(
command
,
new
EnvVars
(
"SLAVE"
,
host
));
}
@Extension
@Extension
@Symbol
(
"command"
)
public
static
class
DescriptorImpl
extends
ComputerConnectorDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/hudson/slaves/ComputerRetentionWork.java
浏览文件 @
26f82463
...
...
@@ -32,6 +32,7 @@ import jenkins.model.Jenkins;
import
hudson.model.Node
;
import
hudson.model.PeriodicWork
;
import
hudson.Extension
;
import
org.jenkinsci.Symbol
;
/**
* Periodically checks the agents and try to reconnect dead agents.
...
...
@@ -39,7 +40,7 @@ import hudson.Extension;
* @author Kohsuke Kawaguchi
* @author Stephen Connolly
*/
@Extension
@Extension
@Symbol
(
"computerRetention"
)
public
class
ComputerRetentionWork
extends
PeriodicWork
{
/**
...
...
core/src/main/java/hudson/slaves/ConnectionActivityMonitor.java
浏览文件 @
26f82463
...
...
@@ -32,6 +32,7 @@ import hudson.remoting.VirtualChannel;
import
hudson.remoting.Channel
;
import
hudson.Extension
;
import
jenkins.security.SlaveToMasterCallable
;
import
org.jenkinsci.Symbol
;
import
java.io.IOException
;
import
java.util.logging.Logger
;
...
...
@@ -46,7 +47,7 @@ import java.util.logging.Logger;
* @author Kohsuke Kawaguchi
* @since 1.325
*/
@Extension
@Extension
@Symbol
(
"connectionActivityMonitor"
)
public
class
ConnectionActivityMonitor
extends
AsyncPeriodicWork
{
public
ConnectionActivityMonitor
()
{
super
(
"Connection Activity monitoring to agents"
);
...
...
core/src/main/java/hudson/slaves/EnvironmentVariablesNodeProperty.java
浏览文件 @
26f82463
...
...
@@ -32,6 +32,7 @@ import hudson.model.ComputerSet;
import
hudson.model.Environment
;
import
hudson.model.Node
;
import
hudson.model.TaskListener
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.Stapler
;
...
...
@@ -75,7 +76,7 @@ public class EnvironmentVariablesNodeProperty extends NodeProperty<Node> {
env
.
putAll
(
envVars
);
}
@Extension
@Extension
@Symbol
(
"envVars"
)
public
static
class
DescriptorImpl
extends
NodePropertyDescriptor
{
@Override
...
...
core/src/main/java/hudson/tasks/Fingerprinter.java
浏览文件 @
26f82463
...
...
@@ -52,6 +52,7 @@ import net.sf.json.JSONObject;
import
org.acegisecurity.AccessDeniedException
;
import
org.apache.tools.ant.DirectoryScanner
;
import
org.apache.tools.ant.types.FileSet
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.AncestorInPath
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
org.kohsuke.stapler.QueryParameter
;
...
...
@@ -248,7 +249,7 @@ public class Fingerprinter extends Recorder implements Serializable, DependencyD
}
}
@Extension
@Extension
@Symbol
(
"fingerprint"
)
public
static
class
DescriptorImpl
extends
BuildStepDescriptor
<
Publisher
>
{
public
String
getDisplayName
()
{
return
Messages
.
Fingerprinter_DisplayName
();
...
...
core/src/main/java/hudson/tools/CommandInstaller.java
浏览文件 @
26f82463
...
...
@@ -27,6 +27,7 @@ package hudson.tools;
import
hudson.Extension
;
import
hudson.FilePath
;
import
hudson.util.LineEndingConversion
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
import
java.io.ObjectStreamException
;
...
...
@@ -56,7 +57,7 @@ public class CommandInstaller extends AbstractCommandInstaller {
return
new
CommandInstaller
(
getLabel
(),
getCommand
(),
getToolHome
());
}
@Extension
@Extension
@Symbol
(
"command"
)
public
static
class
DescriptorImpl
extends
Descriptor
<
CommandInstaller
>
{
@Override
...
...
core/src/main/java/hudson/views/DefaultMyViewsTabBar.java
浏览文件 @
26f82463
...
...
@@ -24,6 +24,7 @@
package
hudson.views
;
import
hudson.Extension
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
/**
...
...
@@ -38,7 +39,7 @@ public class DefaultMyViewsTabBar extends MyViewsTabBar {
public
DefaultMyViewsTabBar
()
{
}
@Extension
@Extension
@Symbol
(
"default"
)
public
static
class
DescriptorImpl
extends
MyViewsTabBarDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/hudson/views/DefaultViewsTabBar.java
浏览文件 @
26f82463
...
...
@@ -24,6 +24,7 @@
package
hudson.views
;
import
hudson.Extension
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
/**
...
...
@@ -38,7 +39,7 @@ public class DefaultViewsTabBar extends ViewsTabBar {
public
DefaultViewsTabBar
()
{
}
@Extension
@Extension
@Symbol
(
"default"
)
public
static
class
DescriptorImpl
extends
ViewsTabBarDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/jenkins/management/ConfigureLink.java
浏览文件 @
26f82463
...
...
@@ -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
-
200
)
@Extension
(
ordinal
=
Integer
.
MAX_VALUE
-
200
)
@Symbol
(
"configure"
)
public
class
ConfigureLink
extends
ManagementLink
{
@Override
...
...
core/src/main/java/jenkins/management/ConsoleLink.java
浏览文件 @
26f82463
...
...
@@ -28,11 +28,12 @@ import hudson.Extension;
import
hudson.model.ManagementLink
;
import
hudson.security.Permission
;
import
jenkins.model.Jenkins
;
import
org.jenkinsci.Symbol
;
/**
* @author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
*/
@Extension
(
ordinal
=
Integer
.
MAX_VALUE
-
900
)
@Extension
(
ordinal
=
Integer
.
MAX_VALUE
-
900
)
@Symbol
(
"console"
)
public
class
ConsoleLink
extends
ManagementLink
{
@Override
...
...
core/src/main/java/jenkins/model/CoreEnvironmentContributor.java
浏览文件 @
26f82463
...
...
@@ -11,6 +11,7 @@ import hudson.model.Node;
import
hudson.model.Run
;
import
hudson.model.TaskListener
;
import
jenkins.model.Jenkins.MasterComputer
;
import
org.jenkinsci.Symbol
;
import
java.io.IOException
;
...
...
@@ -20,7 +21,7 @@ import java.io.IOException;
*
* @author Kohsuke Kawaguchi
*/
@Extension
(
ordinal
=-
100
)
@Extension
(
ordinal
=-
100
)
@Symbol
(
"core"
)
public
class
CoreEnvironmentContributor
extends
EnvironmentContributor
{
@Override
public
void
buildEnvironmentFor
(
Run
r
,
EnvVars
env
,
TaskListener
listener
)
throws
IOException
,
InterruptedException
{
...
...
core/src/main/java/jenkins/model/DownloadSettings.java
浏览文件 @
26f82463
...
...
@@ -35,6 +35,7 @@ import hudson.util.FormValidation;
import
java.io.IOException
;
import
net.sf.json.JSONObject
;
import
org.acegisecurity.AccessDeniedException
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
import
org.kohsuke.stapler.HttpResponse
;
...
...
@@ -46,7 +47,8 @@ import org.kohsuke.stapler.StaplerRequest;
* @see DownloadService
*/
@Restricted
(
NoExternalUse
.
class
)
// no clear reason for this to be an API
@Extension
public
final
class
DownloadSettings
extends
GlobalConfiguration
{
@Extension
@Symbol
(
"downloadSettings"
)
public
final
class
DownloadSettings
extends
GlobalConfiguration
{
public
static
DownloadSettings
get
()
{
return
Jenkins
.
getInstance
().
getInjector
().
getInstance
(
DownloadSettings
.
class
);
...
...
@@ -87,7 +89,8 @@ import org.kohsuke.stapler.StaplerRequest;
Jenkins
.
getInstance
().
checkPermission
(
Jenkins
.
ADMINISTER
);
}
@Extension
public
static
final
class
DailyCheck
extends
AsyncPeriodicWork
{
@Extension
@Symbol
(
"updateCenterCheck"
)
public
static
final
class
DailyCheck
extends
AsyncPeriodicWork
{
public
DailyCheck
()
{
super
(
"Download metadata"
);
...
...
core/src/main/java/jenkins/mvn/DefaultGlobalSettingsProvider.java
浏览文件 @
26f82463
...
...
@@ -5,6 +5,7 @@ import hudson.FilePath;
import
hudson.model.AbstractBuild
;
import
hudson.model.TaskListener
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
/**
...
...
@@ -23,7 +24,7 @@ public class DefaultGlobalSettingsProvider extends GlobalSettingsProvider {
return
null
;
}
@Extension
(
ordinal
=
99
)
@Extension
(
ordinal
=
99
)
@Symbol
(
"default"
)
public
static
class
DescriptorImpl
extends
GlobalSettingsProviderDescriptor
{
@Override
...
...
core/src/main/java/jenkins/mvn/DefaultSettingsProvider.java
浏览文件 @
26f82463
...
...
@@ -5,6 +5,7 @@ import hudson.FilePath;
import
hudson.model.AbstractBuild
;
import
hudson.model.TaskListener
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
/**
...
...
@@ -23,7 +24,7 @@ public class DefaultSettingsProvider extends SettingsProvider {
return
null
;
}
@Extension
(
ordinal
=
99
)
@Extension
(
ordinal
=
99
)
@Symbol
(
"default"
)
public
static
class
DescriptorImpl
extends
SettingsProviderDescriptor
{
@Override
...
...
core/src/main/java/jenkins/mvn/FilePathSettingsProvider.java
浏览文件 @
26f82463
...
...
@@ -11,6 +11,7 @@ import hudson.util.IOUtils;
import
java.io.File
;
import
org.apache.commons.lang.StringUtils
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
/**
...
...
@@ -61,7 +62,7 @@ public class FilePathSettingsProvider extends SettingsProvider {
}
}
@Extension
(
ordinal
=
10
)
@Extension
(
ordinal
=
10
)
@Symbol
(
"filePath"
)
public
static
class
DescriptorImpl
extends
SettingsProviderDescriptor
{
@Override
...
...
core/src/main/java/jenkins/scm/DefaultSCMCheckoutStrategyImpl.java
浏览文件 @
26f82463
...
...
@@ -2,6 +2,7 @@ package jenkins.scm;
import
hudson.Extension
;
import
hudson.model.AbstractProject
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.stapler.DataBoundConstructor
;
/**
...
...
@@ -12,7 +13,7 @@ public class DefaultSCMCheckoutStrategyImpl extends SCMCheckoutStrategy {
@DataBoundConstructor
public
DefaultSCMCheckoutStrategyImpl
()
{}
@Extension
@Extension
@Symbol
(
"default"
)
public
static
class
DescriptorImpl
extends
SCMCheckoutStrategyDescriptor
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/jenkins/security/FrameOptionsPageDecorator.java
浏览文件 @
26f82463
...
...
@@ -2,6 +2,7 @@ package jenkins.security;
import
hudson.Extension
;
import
hudson.model.PageDecorator
;
import
org.jenkinsci.Symbol
;
import
org.kohsuke.accmod.Restricted
;
import
org.kohsuke.accmod.restrictions.NoExternalUse
;
...
...
@@ -10,7 +11,7 @@ import org.kohsuke.accmod.restrictions.NoExternalUse;
*
* @since 1.581
*/
@Extension
(
ordinal
=
1000
)
@Extension
(
ordinal
=
1000
)
@Symbol
(
"frameOptions"
)
public
class
FrameOptionsPageDecorator
extends
PageDecorator
{
@Restricted
(
NoExternalUse
.
class
)
public
static
boolean
enabled
=
Boolean
.
valueOf
(
System
.
getProperty
(
FrameOptionsPageDecorator
.
class
.
getName
()
+
".enabled"
,
"true"
));
...
...
core/src/main/java/jenkins/slaves/systemInfo/EnvVarsSlaveInfo.java
浏览文件 @
26f82463
package
jenkins.slaves.systemInfo
;
import
hudson.Extension
;
import
org.jenkinsci.Symbol
;
/**
* @author Kohsuke Kawaguchi
*/
@Extension
(
ordinal
=
2
)
@Extension
(
ordinal
=
2
)
@Symbol
(
"envVars"
)
public
class
EnvVarsSlaveInfo
extends
SlaveSystemInfo
{
@Override
public
String
getDisplayName
()
{
...
...
core/src/main/java/jenkins/widgets/ExecutorsWidget.java
浏览文件 @
26f82463
...
...
@@ -3,6 +3,7 @@ package jenkins.widgets;
import
hudson.Extension
;
import
hudson.widgets.Widget
;
import
jenkins.model.Jenkins
;
import
org.jenkinsci.Symbol
;
/**
* The default executors widget.
...
...
@@ -12,6 +13,6 @@ import jenkins.model.Jenkins;
* @author Kohsuke Kawaguchi
* @since 1.514
*/
@Extension
(
ordinal
=
100
)
// historically this was above normal widgets and below BuildQueueWidget
@Extension
(
ordinal
=
100
)
@Symbol
(
"executors"
)
// historically this was above normal widgets and below BuildQueueWidget
public
class
ExecutorsWidget
extends
Widget
{
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录