Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
LinuxSuRen
jenkins
提交
0268cc99
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,体验更适合开发者的 AI 搜索 >>
未验证
提交
0268cc99
编写于
5月 09, 2018
作者:
J
Jesse Glick
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove ${build.version} property in favor of ${project.version}.
上级
d004eea0
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
7 addition
and
79 deletion
+7
-79
.mvn/extensions.xml
.mvn/extensions.xml
+1
-1
cli/pom.xml
cli/pom.xml
+1
-1
cli/src/filter/resources/jenkins/cli/jenkins-cli-version.properties
...lter/resources/jenkins/cli/jenkins-cli-version.properties
+1
-1
core/pom.xml
core/pom.xml
+1
-0
core/src/filter/resources/hudson/model/hudson-version.properties
...c/filter/resources/hudson/model/hudson-version.properties
+1
-1
core/src/filter/resources/jenkins/model/jenkins-version.properties
...filter/resources/jenkins/model/jenkins-version.properties
+1
-1
core/src/main/java/jenkins/model/Jenkins.java
core/src/main/java/jenkins/model/Jenkins.java
+1
-1
pom.xml
pom.xml
+0
-73
未找到文件。
.mvn/extensions.xml
浏览文件 @
0268cc99
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
<extension>
<extension>
<groupId>
io.jenkins.tools
</groupId>
<groupId>
io.jenkins.tools
</groupId>
<artifactId>
git-changelist-maven-extension
</artifactId>
<artifactId>
git-changelist-maven-extension
</artifactId>
<version>
1.0-
alpha-3
</version>
<version>
1.0-
beta-1
</version>
</extension>
</extension>
</extensions>
</extensions>
cli/pom.xml
浏览文件 @
0268cc99
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
<mainClass>
hudson.cli.CLI
</mainClass>
<mainClass>
hudson.cli.CLI
</mainClass>
</manifest>
</manifest>
<manifestEntries>
<manifestEntries>
<Jenkins-CLI-Version>
${
build
.version}
</Jenkins-CLI-Version>
<Jenkins-CLI-Version>
${
project
.version}
</Jenkins-CLI-Version>
</manifestEntries>
</manifestEntries>
</archive>
</archive>
</configuration>
</configuration>
...
...
cli/src/filter/resources/jenkins/cli/jenkins-cli-version.properties
浏览文件 @
0268cc99
version
=
${
build
.version}
version
=
${
project
.version}
core/pom.xml
浏览文件 @
0268cc99
...
@@ -644,6 +644,7 @@ THE SOFTWARE.
...
@@ -644,6 +644,7 @@ THE SOFTWARE.
<plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<version>
1.7
</version>
<executions>
<executions>
<execution>
<execution>
<id>
add-source
</id>
<id>
add-source
</id>
...
...
core/src/filter/resources/hudson/model/hudson-version.properties
浏览文件 @
0268cc99
version
=
${build.version}
version
=
${project.version}
\ No newline at end of file
core/src/filter/resources/jenkins/model/jenkins-version.properties
浏览文件 @
0268cc99
version
=
${build.version}
version
=
${project.version}
\ No newline at end of file
core/src/main/java/jenkins/model/Jenkins.java
浏览文件 @
0268cc99
...
@@ -4945,7 +4945,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
...
@@ -4945,7 +4945,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
}
}
String
ver
=
props
.
getProperty
(
"version"
);
String
ver
=
props
.
getProperty
(
"version"
);
if
(
ver
==
null
)
ver
=
UNCOMPUTED_VERSION
;
if
(
ver
==
null
)
ver
=
UNCOMPUTED_VERSION
;
if
(
Main
.
isDevelopmentMode
&&
"${
build
.version}"
.
equals
(
ver
))
{
if
(
Main
.
isDevelopmentMode
&&
"${
project
.version}"
.
equals
(
ver
))
{
// in dev mode, unable to get version (ahem Eclipse)
// in dev mode, unable to get version (ahem Eclipse)
try
{
try
{
File
dir
=
new
File
(
"."
).
getAbsoluteFile
();
File
dir
=
new
File
(
"."
).
getAbsoluteFile
();
...
...
pom.xml
浏览文件 @
0268cc99
...
@@ -81,7 +81,6 @@ THE SOFTWARE.
...
@@ -81,7 +81,6 @@ THE SOFTWARE.
<!-- *.html files are in UTF-8, and *.properties are in iso-8859-1, so this configuration is actually incorrect,
<!-- *.html files are in UTF-8, and *.properties are in iso-8859-1, so this configuration is actually incorrect,
but this suppresses a warning from Maven, and as long as we don't do filtering we should be OK. -->
but this suppresses a warning from Maven, and as long as we don't do filtering we should be OK. -->
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<build.type>
private
</build.type>
<!-- configuration for patch tracker plugin -->
<!-- configuration for patch tracker plugin -->
<project.patchManagement.system>
github
</project.patchManagement.system>
<project.patchManagement.system>
github
</project.patchManagement.system>
...
@@ -305,50 +304,6 @@ THE SOFTWARE.
...
@@ -305,50 +304,6 @@ THE SOFTWARE.
</resources>
</resources>
<pluginManagement>
<pluginManagement>
<plugins>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<version>
1.7
</version>
<executions>
<execution>
<id>
timestamp-property
</id>
<goals>
<goal>
timestamp-property
</goal>
</goals>
<configuration>
<name>
now
</name>
<pattern>
MM/dd/yyyy HH:mm z
</pattern>
<locale>
en_US
</locale>
</configuration>
</execution>
<execution>
<id>
user.name
</id>
<goals>
<goal>
regex-property
</goal>
</goals>
<configuration>
<name>
user.name.escaped
</name>
<value>
${user.name}
</value>
<regex>
([$\\])
</regex>
<replacement>
\\$1
</replacement>
<failIfNoMatch>
false
</failIfNoMatch>
</configuration>
</execution>
<execution>
<id>
version-property
</id>
<goals>
<goal>
regex-property
</goal>
</goals>
<configuration>
<name>
build.version
</name>
<value>
${project.version}
</value>
<regex>
-SNAPSHOT
</regex>
<replacement>
-SNAPSHOT (${build.type}-${now}-${user.name.escaped})
</replacement>
<failIfNoMatch>
false
</failIfNoMatch>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<artifactId>
maven-deploy-plugin
</artifactId>
...
@@ -550,10 +505,6 @@ THE SOFTWARE.
...
@@ -550,10 +505,6 @@ THE SOFTWARE.
</pluginManagement>
</pluginManagement>
<plugins>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
</plugin>
<plugin>
<plugin>
<artifactId>
maven-release-plugin
</artifactId>
<artifactId>
maven-release-plugin
</artifactId>
<configuration>
<configuration>
...
@@ -660,30 +611,6 @@ THE SOFTWARE.
...
@@ -660,30 +611,6 @@ THE SOFTWARE.
</build>
</build>
<profiles>
<profiles>
<profile>
<id>
rc
</id>
<properties>
<build.type>
rc
</build.type>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<executions>
<execution>
<id>
version-property
</id>
<configuration>
<replacement>
-RC (${now})
</replacement>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<profile>
<id>
metrics
</id>
<id>
metrics
</id>
<build>
<build>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录