Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FIY695
jenkins
提交
db8695be
J
jenkins
项目概览
FIY695
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
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,发现更多精彩内容 >>
提交
db8695be
编写于
7月 04, 2011
作者:
S
Stephen Connolly
提交者:
Kohsuke Kawaguchi
7月 12, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove use of antrun from core (now have another plugin fix required (hpi))
上级
5827fa97
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
38 addition
and
37 deletion
+38
-37
core/pom.xml
core/pom.xml
+35
-36
core/src/main/resources/hudson/model/hudson-version.properties
...src/main/resources/hudson/model/hudson-version.properties
+1
-0
core/src/main/resources/jenkins/model/jenkins-version.properties
...c/main/resources/jenkins/model/jenkins-version.properties
+1
-0
pom.xml
pom.xml
+1
-1
未找到文件。
core/pom.xml
浏览文件 @
db8695be
...
...
@@ -510,6 +510,24 @@ THE SOFTWARE.
</dependencies>
<build>
<resources>
<resource>
<directory>
${basedir}/src/main/resources
</directory>
<filtering>
false
</filtering>
<excludes>
<exclude>
hudson/model/hudson-version.properties
</exclude>
<exclude>
jenkins/model/jenkins-version.properties
</exclude>
</excludes>
</resource>
<resource>
<directory>
${basedir}/src/main/resources
</directory>
<filtering>
true
</filtering>
<includes>
<include>
hudson/model/hudson-version.properties
</include>
<include>
jenkins/model/jenkins-version.properties
</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>
org.jenkins-ci.tools
</groupId>
...
...
@@ -613,43 +631,28 @@ THE SOFTWARE.
</executions>
</plugin>
<plugin>
<groupId>
org.jvnet.maven-antrun-extended-plugin
</groupId>
<artifactId>
maven-antrun-extended-plugin
</artifactId>
<!-- version specified in grandparent pom -->
<artifactId>
maven-dependency-plugin
</artifactId>
<executions>
<execution>
<id>
winsw
</id>
<phase>
generate-resources
</phase>
<configuration>
<tasks>
<tstamp>
<format
property=
"now"
pattern=
"MM/dd/yyyy HH:mm"
unit=
"hour"
/>
</tstamp>
<property
name=
"build.type"
value=
"private"
/>
<!-- override for "rc" build -->
<pathconvert
property=
"version.rc"
>
<path
path=
"${project.version}"
/>
<chainedmapper><flattenmapper
/><globmapper
from=
"*-SNAPSHOT"
to=
"*-RC"
/></chainedmapper>
</pathconvert>
<condition
property=
"build.version"
value=
"${version.rc} (${now})"
>
<equals
arg1=
"${build.type}"
arg2=
"rc"
/>
</condition>
<property
name=
"build.version"
value=
"${project.version} (${build.type}-${now}-${user.name})"
/>
<!-- default to release version -->
<!-- put the version file -->
<echo
message=
"The build id is: ${build.version}"
/>
<mkdir
dir=
"target/classes/hudson/model"
/>
<echo
file=
"target/classes/hudson/model/hudson-version.properties"
>
version=${build.version}
</echo>
<mkdir
dir=
"target/classes/jenkins/model"
/>
<echo
file=
"target/classes/jenkins/model/jenkins-version.properties"
>
version=${build.version}
</echo>
<!-- download winsw.exe -->
<mkdir
dir=
"target/classes/windows-service"
/>
<resolveArtifact
artifactId=
"winsw"
tofile=
"target/classes/windows-service/jenkins.exe"
/>
</tasks>
</configuration>
<goals>
<goal>
run
</goal>
<!-- we use copy as this is a dependency from outside the reactor -->
<goal>
copy
</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>
com.sun.winsw
</groupId>
<artifactId>
winsw
</artifactId>
<version>
1.10
</version>
<classifier>
bin
</classifier>
<type>
exe
</type>
<outputDirectory>
${project.build.outputDirectory}/windows-service
</outputDirectory>
<destFileName>
jenkins.exe
</destFileName>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
...
...
@@ -700,10 +703,6 @@ THE SOFTWARE.
</profile>
<profile>
<id>
release
</id>
<properties>
<!-- for releases, just use the POM version. See above ant-run plugin for how this gets used. -->
<build.version>
${project.version}
</build.version>
</properties>
<build>
<plugins>
<plugin>
<!-- execute apt:process for "Extension points" Wiki page generation -->
...
...
core/src/main/resources/hudson/model/hudson-version.properties
0 → 100644
浏览文件 @
db8695be
version
=
${build.version}
\ No newline at end of file
core/src/main/resources/jenkins/model/jenkins-version.properties
0 → 100644
浏览文件 @
db8695be
version
=
${build.version}
\ No newline at end of file
pom.xml
浏览文件 @
db8695be
...
...
@@ -377,7 +377,7 @@ THE SOFTWARE.
<plugin>
<groupId>
org.jenkins-ci.tools
</groupId>
<artifactId>
maven-hpi-plugin
</artifactId>
<version>
1.7
2
</version>
<version>
1.7
3-SNAPSHOT
</version>
</plugin>
</plugins>
</pluginManagement>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录