[
https://issues.jboss.org/browse/JBIDE-13671?page=com.atlassian.jira.plugi...
]
Nick Boldt edited comment on JBIDE-13671 at 3/6/13 1:40 PM:
------------------------------------------------------------
One proposal that might solve the question of "was this built locally" or
"was this built in Jenkins" and ensure that locally built always has a newer
timestamp than that in Jenkins CI:
a) profile for Jenkins needs to be updated to use "-CI" instead of
"-B$\{BUILD_NUMBER\}"
b) profile for Jenkins uses jgit timestamp provider
c) default profile omits the "-CI" and "-Bxxxx" suffix, as it does
today
d) default profile uses the default timestamp provider, as it does today
Therefore the change proposed should now ONLY be made to the existing jenkins profile, and
PR
https://github.com/jbosstools/jbosstools-build/pull/72 should be rejected.
New PR:
https://github.com/jbosstools/jbosstools-build/pull/73
was (Author: nickboldt):
One proposal that might solve the question of "was this built locally" or
"was this built in Jenkins" and ensure that locally built always has a newer
timestamp than that in Jenkins CI:
a) profile for Jenkins needs to be updated to use "-CI" instead of
"-B${BUILD_NUMBER}"
b) profile for Jenkins uses jgit timestamp provider
c) default profile omits the "-CI" and "-Bxxxx" suffix, as it does
today
d) default profile uses the default timestamp provider, as it does today
Therefore the change proposed should now ONLY be made to the existing jenkins profile, and
PR
https://github.com/jbosstools/jbosstools-build/pull/72 should be rejected.
parent pom should use last-mod-timestamp from git for a
plugin/feature instead of current timestamp when building
-----------------------------------------------------------------------------------------------------------------
Key: JBIDE-13671
URL:
https://issues.jboss.org/browse/JBIDE-13671
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Affects Versions: 4.1.0.Alpha1
Reporter: Nick Boldt
Assignee: Nick Boldt
Fix For: 4.1.x
Attachments: jbide13671-before-and-after.png
This needs to be added to master parent pom:
{code}
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<dependencies>
<dependency>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-buildtimestamp-jgit</artifactId>
<version>${tycho-extras.version}</version>
</dependency>
</dependencies>
<configuration>
<strictBinIncludes>false</strictBinIncludes>
<format>'v'yyyyMMdd-HHmm</format>
<timestampProvider>jgit</timestampProvider>
<jgit.ignore>
</jgit.ignore>
</configuration>
</plugin>
{code}
Ref:
http://pweclipse.blogspot.ch/2012_09_01_archive.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira