[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tycho-user] how set qualifier as revision from svn during every build?
- From: e92-330cd@xxxxxxxxx
- Date: Tue, 04 Sep 2012 13:33:37 +0200 (CEST)
- Delivered-to: email@example.com
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=seznam.cz; h=In-Reply-To:Received:Date:To:From:Subject:Mime-Version:Message-Id:Content-Transfer-Encoding:Content-Type:X-Country:X-Abuse:X-Seznam-User; b=EOfIiVQPQsiOvOxyIxdk7fmxEBGLIsA9KDas7pJJ8BZ0TCfy6VJXZlKYlF6sFTy2n gko0MweWo25fSjw6KEOLX/NQsYlHmRLLPRBIiYTMWMqZ8nINa1QlriZ+qBBYfn0Wpd9 QcIFOCofW+z7LD1mxvNKGAcKNdiIFI1ie80g+J8=
I really appreciate your help. I like Anders way. Now would need a little help how to achieve that...
I dont understand this sentence> "Using svn revision as version qualifier will require changes to
Do I need set up somewhere the svn connection, password etc? Will be the qualifier specific for every build module?
What is the construction to make the mojo works? Thank you, D.
------------ PÅvodnÃ zprÃva ------------
Od: Igor Fedorenko <igor@xxxxxxxxxxxxxx>
PÅedmÄt: Re: [tycho-user] how set qualifier as revision from svn during every
Datum: 04.9.2012 13:15:18
On 12-09-04 6:40 AM, e92-330cd@xxxxxxxxx wrote:
> I have found that with tycho-packaging:build-qualifier plugin is
> possible to change the qualifier. I would like to set the qualifier
> as the last revision from svn in every build on jenkins... any ideas
> how to manage this?
Less nice way of doing this is to pass svn revision id as
-DforceContextQualifier parameter from your jenkins build. This will
force the same qualifier for all aggregator build modules, which may or
may not be what you need.
Extending build-qualifier mojo is probably a better approach, but it
requires writing java code. Currently, it allows plugable
build-timestamp generation logic, so using timestamp of the last commit
should be straightforward and you can use jgit implementation  as an
example. Using svn revision as version qualifier will require changes to
> Thanks David
> tycho-user mailing list
tycho-user mailing list