Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
jenkins
提交
035ca2be
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,发现更多精彩内容 >>
未验证
提交
035ca2be
编写于
11月 12, 2019
作者:
J
Jesse Glick
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Some references in Javadoc to hudson-dev:run.
上级
9526bfd4
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
6 addition
and
6 deletion
+6
-6
core/src/main/java/hudson/Main.java
core/src/main/java/hudson/Main.java
+1
-1
core/src/main/java/hudson/init/InitStrategy.java
core/src/main/java/hudson/init/InitStrategy.java
+1
-1
core/src/main/java/hudson/model/Slave.java
core/src/main/java/hudson/model/Slave.java
+1
-1
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/java/jenkins/model/Jenkins.java
+3
-3
未找到文件。
core/src/main/java/hudson/Main.java
浏览文件 @
035ca2be
...
...
@@ -220,7 +220,7 @@ public class Main {
public
static
boolean
isUnitTest
=
false
;
/**
* Set to true if we are running inside
"mvn hpi:run" or "mvn hudson-dev:run"
* Set to true if we are running inside
{@code mvn hpi:run} or {@code mvn jetty:run}.
*/
public
static
boolean
isDevelopmentMode
=
SystemProperties
.
getBoolean
(
Main
.
class
.
getName
()+
".development"
);
...
...
core/src/main/java/hudson/init/InitStrategy.java
浏览文件 @
035ca2be
...
...
@@ -72,7 +72,7 @@ public class InitStrategy {
/**
* Lists up additional bundled plugins from the system property {@code hudson.bundled.plugins}.
* Since 1.480 glob syntax is supported.
* For use in
the "mvn hudson-dev:run"
.
* For use in
{@code mvn jetty:run}
.
* TODO: maven-hpi-plugin should inject its own InitStrategy instead of having this in the core.
*/
protected
void
getBundledPluginsFromProperty
(
final
List
<
File
>
r
)
{
...
...
core/src/main/java/hudson/model/Slave.java
浏览文件 @
035ca2be
...
...
@@ -439,7 +439,7 @@ public abstract class Slave extends Node implements Serializable {
return
res
;
}
/** Useful for {@code JenkinsRule.createSlave}, {@code
hudson-dev
:run}, etc. */
/** Useful for {@code JenkinsRule.createSlave}, {@code
mvn jetty
:run}, etc. */
private
@CheckForNull
URL
findExecutableJar
(
File
notActuallyJAR
,
Class
<?>
mainClass
)
throws
IOException
{
if
(
notActuallyJAR
.
getName
().
equals
(
"classes"
))
{
File
[]
siblings
=
notActuallyJAR
.
getParentFile
().
listFiles
();
...
...
core/src/main/java/jenkins/model/Jenkins.java
浏览文件 @
035ca2be
...
...
@@ -5103,7 +5103,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
/**
* Parses {@link #VERSION} into {@link VersionNumber}, or null if it's not parseable as a version number
* (such as when Jenkins is run with
"mvn hudson-dev:run"
)
* (such as when Jenkins is run with
{@code mvn jetty:run}
)
*/
public
@CheckForNull
static
VersionNumber
getVersion
()
{
return
toVersion
(
VERSION
);
...
...
@@ -5114,7 +5114,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
* {@link #doConfigSubmit(org.kohsuke.stapler.StaplerRequest, org.kohsuke.stapler.StaplerResponse)}.
* <p>
* Parses the version into {@link VersionNumber}, or null if it's not parseable as a version number
* (such as when Jenkins is run with
"mvn hudson-dev:run"
)
* (such as when Jenkins is run with
{@code mvn jetty:run}
)
* @since 2.0
*/
@Restricted
(
NoExternalUse
.
class
)
...
...
@@ -5124,7 +5124,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
/**
* Parses a version string into {@link VersionNumber}, or null if it's not parseable as a version number
* (such as when Jenkins is run with
"mvn hudson-dev:run"
)
* (such as when Jenkins is run with
{@code mvn jetty:run}
)
*/
private
static
@CheckForNull
VersionNumber
toVersion
(
@CheckForNull
String
versionString
)
{
if
(
versionString
==
null
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录