passing properties file in Hudson's Buckminster plugin [message #521161] |
Tue, 16 March 2010 15:44 |
Alex Kravets Messages: 561 Registered: November 2009 |
Senior Member |
|
|
Hello,
Currently when Buckminster creates products in Hudson all my qualifiers are replaced with timestamp. How does Buckminster replace the qualifier with timestamp? I don't remember setting this property in a plugin. And if I define custom replacement for qualifer in properties file how do I pass it to my Buckminster job?
thanks,
Alex
[Updated on: Tue, 16 March 2010 15:44] Report message to a moderator
|
|
|
|
|
Re: passing properties file in Hudson's Buckminster plugin [message #521497 is a reply to message #521493] |
Wed, 17 March 2010 14:16 |
|
Hi Alex,
The lastRevision only works with projects that are shared with SVN (i.e. subclipse or subversive). Are you using CVS?
Regards,
Thomas Hallgren
On 03/17/2010 07:43 PM, Alex wrote:
> Thanks Stephan,
> Yes I tried this, but replacement works only when I have replacement set as
>
> qualifier.replacement.*=generator:buildTimestamp
> generator.buildTimestamp.format='I'yyyyMMddHHmm
>
> When I set
>
> qualifier.replacement.*=generator:lastRevision
> generator.lastRevision.format=r{0,number,00000}
>
> qualifier is not being replaced. May be I need to set something else in
> conjunction with this in order for lastRevision to work?
>
> thanks,
> Alex
|
|
|
|
Re: passing properties file in Hudson's Buckminster plugin [message #521521 is a reply to message #521505] |
Wed, 17 March 2010 21:06 |
|
On 03/17/2010 09:09 PM, Alex wrote:
> Hi Thomas,
>
> All project are in SVN.
>
> For the type of build I have I work with local filesystem that checks
> out projects from SVN, this is done in Hudson. So do the components just
> need to be shared with SVN, or do providers in rmap associated with
> these components need to be of readType svn? I hope I am asking this
> question in a correct way.
>
Yes, that's what needs to be done. Unfortunately, Buckminster is not capable of doing this automatically at present. Not
for SVN anyway. The new Git reader type does this by default. I'm considering chaning the SVN reader type so that if it
is pointed to a local directory that is recognized as a project, it should actually share it. But today, it's not an option.
- thomas
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04634 seconds