|Re: Does buckminster support jgit based Version Qualifiers? [message #1160316 is a reply to message #1160050]
||Tue, 29 October 2013 04:06
On 2013-10-29 00:55, Lothar Werzinger wrote:|
> Thomas Hallgren wrote on Mon, 28 October 2013 15:55
>> On 2013-10-28 17:08, Lothar Werzinger wrote:
>> > Tycho supports http://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers with jgit by calculating based on
>> > of the most recent commit that touches any file under project base directory.
>> > Does buckminster support this, too?
>> Yes. That's the default behavior for Git based projects.
>> - thomas
> We currently use generator.buildTimestamp.format to customize the generated qualifier
> But that always uses the build time as the timestamp for every plugin and not the git timestamps for the individual
> How can we instruct Buckminster to use the git timestamps?
|Re: Does buckminster support jgit based Version Qualifiers? [message #1165776 is a reply to message #1161191]
||Fri, 01 November 2013 14:33
On 29/10/2013 17:41, Matthew Webber wrote:|
> That works for us. Specifically, we use
> The main thing to remember is that you need the .qualifier on the end of
> the version number in all bundles, features and products - we got caught
> once by that, when the version did not change because one component had
> a fixed version number.
The other thing to remember, if you run the build locally on your
machine, is that the changes to the bundles and features must be
committed, since the timestamp corresponds to the last git commit (If I
I also experienced another problem when building on Jenkins triggered by
Gerrit: remember to set the refspec to $GERRIT_REFSPEC, otherwise the
timestamp will not correspond to the last patchset...
hope this helps :)
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
Powered by FUDForum
. Page generated in 0.02131 seconds