Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
f08fd38a
J
jenkins
项目概览
LinuxSuRen
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
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,发现更多精彩内容 >>
提交
f08fd38a
编写于
1月 30, 2011
作者:
K
Kohsuke Kawaguchi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
hudson-cli.jar to jenkins-cli.jar rename
上级
294656a5
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
16 addition
and
14 deletion
+16
-14
cli/src/main/resources/hudson/cli/client/Messages.properties
cli/src/main/resources/hudson/cli/client/Messages.properties
+2
-2
cli/src/main/resources/hudson/cli/client/Messages_da.properties
...c/main/resources/hudson/cli/client/Messages_da.properties
+1
-1
cli/src/main/resources/hudson/cli/client/Messages_de.properties
...c/main/resources/hudson/cli/client/Messages_de.properties
+1
-1
cli/src/main/resources/hudson/cli/client/Messages_es.properties
...c/main/resources/hudson/cli/client/Messages_es.properties
+1
-1
cli/src/main/resources/hudson/cli/client/Messages_ja.properties
...c/main/resources/hudson/cli/client/Messages_ja.properties
+2
-2
cli/src/main/resources/hudson/cli/client/Messages_pt_BR.properties
...ain/resources/hudson/cli/client/Messages_pt_BR.properties
+2
-2
core/src/main/java/hudson/cli/CLICommand.java
core/src/main/java/hudson/cli/CLICommand.java
+2
-2
core/src/main/java/hudson/model/Slave.java
core/src/main/java/hudson/model/Slave.java
+4
-2
war/pom.xml
war/pom.xml
+1
-1
未找到文件。
cli/src/main/resources/hudson/cli/client/Messages.properties
浏览文件 @
f08fd38a
CLI.Usage
=
Hudson CLI
\n\
Usage: java -jar
hudson
-cli.jar [-s URL] command [opts...] args...
\n\
Usage: java -jar
jenkins
-cli.jar [-s URL] command [opts...] args...
\n\
Options:
\n\
\
-s URL : specify the server URL (defaults to the HUDSON_URL env var)
\n\
\n\
The available commands depend on the server. Run the 'help' command to
\n\
see the list.
CLI.NoURL
=
Neither -s nor the HUDSON_URL env var is specified.
CLI.VersionMismatch
=
Version mismatch. This CLI cannot work with this Hudson server
\ No newline at end of file
CLI.VersionMismatch
=
Version mismatch. This CLI cannot work with this Hudson server
cli/src/main/resources/hudson/cli/client/Messages_da.properties
浏览文件 @
f08fd38a
...
...
@@ -22,7 +22,7 @@
CLI.VersionMismatch
=
Versionskonflikt. CLI''en fungerer ikke med denne Hudson server
CLI.Usage
=
Hudson CLI
\n\
Brug: java -jar
hudson
-cli.jar [-s URL] command [opts...] args...
\n\
Brug: java -jar
jenkins
-cli.jar [-s URL] command [opts...] args...
\n\
Tilvalg
:
\n\
De tilg
\u
00e6ngelige kommandoer afh
\u
00e6nger af serveren. K
\u
00f8r 'help' kommandoen for at se listen.
CLI.NoURL
=
Hverken -s eller HUDSON_URL milj
\u
00f8variablen er defineret
cli/src/main/resources/hudson/cli/client/Messages_de.properties
浏览文件 @
f08fd38a
CLI.Usage
=
Hudson Kommandozeilenschnittstelle (Hudson CLI)
\n\
Verwendung: java -jar
hudson
-cli.jar [-s URL] command [opts...] args...
\n\
Verwendung: java -jar
jenkins
-cli.jar [-s URL] command [opts...] args...
\n\
Optionen:
\n\
\
-s URL : URL des Hudson-Servers (Wert der Umgebungsvariable HUDSON_URL ist der Vorgabewert)
\n\
\n\
...
...
cli/src/main/resources/hudson/cli/client/Messages_es.properties
浏览文件 @
f08fd38a
CLI.Usage
=
Hudson CLI
\n\
Usar: java -jar
hudson
-cli.jar [-s URL] command [opts...] args...
\n\
Usar: java -jar
jenkins
-cli.jar [-s URL] command [opts...] args...
\n\
Options:
\n\
\
-s URL : dirección web (por defecto se usa la variable HUDSON_URL)
\n\
\n\
...
...
cli/src/main/resources/hudson/cli/client/Messages_ja.properties
浏览文件 @
f08fd38a
...
...
@@ -25,14 +25,14 @@ CLI.NoURL=-s\u3082\u74B0\u5883\u5909\u6570HUDSON_URL\u3082\u6307\u5B9A\u3055\u30
# Version mismatch. This CLI cannot work with this Hudson server
CLI.VersionMismatch
=
\u
30D0
\u
30FC
\u
30B8
\u
30E7
\u
30F3
\u
30DF
\u
30B9
\u
30DE
\u
30C3
\u
30C1
\u3067\u3059\u3002\u3053\u
306ECLI
\u
306FHudson
\u
30B5
\u
30FC
\u
30D0
\u3067\u
306F
\u
52D5
\u
304D
\u
307E
\u
305B
\u3093\u3002
# Hudson CLI\n\
# Usage: java -jar
hudson
-cli.jar [-s URL] command [opts...] args...\n\
# Usage: java -jar
jenkins
-cli.jar [-s URL] command [opts...] args...\n\
# Options:\n\
# \ -s URL : specify the server URL (defaults to the HUDSON_URL env var)\n\
# \n\
# The available commands depend on the server. Run the 'help' command to\n\
# see the list.
CLI.Usage
=
Hudson CLI
\n\
\u
4F7F
\u7528\u
65B9
\u
6CD5: java -jar
hudson
-cli.jar [-s URL] command [opts...] args...
\n\
\u
4F7F
\u7528\u
65B9
\u
6CD5: java -jar
jenkins
-cli.jar [-s URL] command [opts...] args...
\n\
\u
30AA
\u
30D7
\u
30B7
\u
30E7
\u
30F3:
\n\
\
-s URL :
\u
30B5
\u
30FC
\u
30D0
\u
306EURL
\u3092\u6307\u
5B9A
\u3057\u3066\u
304F
\u3060\u3055\u3044\u
FF08
\u
30C7
\u
30D5
\u
30A9
\u
30EB
\u
30C8
\u
306F
\u
74B0
\u5883\u5909\u6570
HUDSON_URL
\u3067\u3059\u
FF09
\u3002\n\
\n\
...
...
cli/src/main/resources/hudson/cli/client/Messages_pt_BR.properties
浏览文件 @
f08fd38a
...
...
@@ -23,14 +23,14 @@
# Version mismatch. This CLI cannot work with this Hudson server
CLI.VersionMismatch
=
A vers
\u
fffdo n
\u
fffdo coincide. Esta CLI n
\u
fffdo pode funcionar com este servidor Hudson
# Hudson CLI\n\
# Usage: java -jar
hudson
-cli.jar [-s URL] command [opts...] args...\n\
# Usage: java -jar
jenkins
-cli.jar [-s URL] command [opts...] args...\n\
# Options:\n\
# \ -s URL : specify the server URL (defaults to the HUDSON_URL env var)\n\
# \n\
# The available commands depend on the server. Run the 'help' command to\n\
# see the list.
CLI.Usage
=
Hudson CLI
\n\
Uso: java -jar
hudson
-cli.jar [-s URL] comando [op
\u
fffd
\u
fffdes...] par
\u
fffdmetros...
\n\
Uso: java -jar
jenkins
-cli.jar [-s URL] comando [op
\u
fffd
\u
fffdes...] par
\u
fffdmetros...
\n\
Op
\u
fffd
\u
fffdes:
\n\
\
-s URL : a URL do servidor (por padr
\u
fffdo a vari
\u
fffdvel de ambiente HUDSON_URL
\u
fffd usada)
\n\
\n\
...
...
core/src/main/java/hudson/cli/CLICommand.java
浏览文件 @
f08fd38a
...
...
@@ -61,7 +61,7 @@ import java.util.logging.Logger;
* <h2>How does a CLI command work</h2>
* <p>
* The users starts {@linkplain CLI the "CLI agent"} on a remote system, by specifying arguments, like
* <tt>"java -jar
hudson
-cli.jar command arg1 arg2 arg3"</tt>. The CLI agent creates
* <tt>"java -jar
jenkins
-cli.jar command arg1 arg2 arg3"</tt>. The CLI agent creates
* a remoting channel with the server, and it sends the entire arguments to the server, along with
* the remoted stdin/out/err.
*
...
...
@@ -268,7 +268,7 @@ public abstract class CLICommand implements ExtensionPoint, Cloneable {
protected
abstract
int
run
()
throws
Exception
;
protected
void
printUsage
(
PrintStream
stderr
,
CmdLineParser
p
)
{
stderr
.
println
(
"java -jar
hudson
-cli.jar "
+
getName
()+
" args..."
);
stderr
.
println
(
"java -jar
jenkins
-cli.jar "
+
getName
()+
" args..."
);
printUsageSummary
(
stderr
);
p
.
printUsage
(
stderr
);
}
...
...
core/src/main/java/hudson/model/Slave.java
浏览文件 @
f08fd38a
...
...
@@ -284,10 +284,12 @@ public abstract class Slave extends Node implements Serializable {
}
public
URL
getURL
()
throws
MalformedURLException
{
URL
res
=
Hudson
.
getInstance
().
servletContext
.
getResource
(
"/WEB-INF/"
+
fileName
);
String
name
=
fileName
;
if
(
name
.
equals
(
"hudson-cli.jar"
))
name
=
"jenkins-cli.jar"
;
URL
res
=
Hudson
.
getInstance
().
servletContext
.
getResource
(
"/WEB-INF/"
+
name
);
if
(
res
==
null
)
{
// during the development this path doesn't have the files.
res
=
new
URL
(
new
File
(
"."
).
getAbsoluteFile
().
toURI
().
toURL
(),
"target/generated-resources/WEB-INF/"
+
fileN
ame
);
res
=
new
URL
(
new
File
(
"."
).
getAbsoluteFile
().
toURI
().
toURL
(),
"target/generated-resources/WEB-INF/"
+
n
ame
);
}
return
res
;
}
...
...
war/pom.xml
浏览文件 @
f08fd38a
...
...
@@ -119,7 +119,7 @@ THE SOFTWARE.
<!-- dependencies that goes to unusual locations -->
<resolveArtifact
artifactId=
"remoting"
tofile=
"${basedir}/target/generated-resources/WEB-INF/remoting.jar"
/>
<resolveArtifact
artifactId=
"remoting"
tofile=
"${basedir}/target/generated-resources/WEB-INF/slave.jar"
/>
<resolveArtifact
groupId=
"${project.groupId}"
artifactId=
"cli"
classifier=
"jar-with-dependencies"
version=
"${project.version}"
type=
"jar"
tofile=
"${basedir}/target/generated-resources/WEB-INF/
hudson
-cli.jar"
/>
<resolveArtifact
groupId=
"${project.groupId}"
artifactId=
"cli"
classifier=
"jar-with-dependencies"
version=
"${project.version}"
type=
"jar"
tofile=
"${basedir}/target/generated-resources/WEB-INF/
jenkins
-cli.jar"
/>
<resolveArtifact
groupId=
"org.jvnet.hudson.winstone"
artifactId=
"winstone"
version=
"0.9.10-hudson-24"
type=
"jar"
tofile=
"${basedir}/target/generated-resources/winstone.jar"
/>
<!-- bundled plugins -->
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录