Bazaar and Hudson
guillo.gonzo at gmail.com
Mon Oct 27 02:56:35 GMT 2008
On Mon, Oct 27, 2008 at 12:37 AM, Matt McClure <mlm at aya.yale.edu> wrote:
> On Sun, Oct 26, 2008 at 1:42 PM, Guillermo Gonzalez
> <guillo.gonzo at gmail.com> wrote:
>> On Sun, Oct 26, 2008 at 2:30 PM, Matt McClure <mlm at aya.yale.edu> wrote:
>> It seems you have an old version of the plugin, I can be sure of that
>> because I removed the method getRevno :)
>> I'm still trying to build the .hpi with the version number included,
>> no luck yet.
>> In the meantime, to avoid this, I'll create directories for each build
>> like: http://verterok.com.ar/bzr-hudson/20081026
>> I uploaded a new build, to that url. With this version the polling should work.
> With the new version, my build fails, even with a manual trigger,
> i.e., when I click "Build Now". I get the exception below:
> Executing: version-info bzrp4
> java.lang.ArrayIndexOutOfBoundsException: 1
> at org.vcs.bazaar.client.BazaarVersionInfo.parse(BazaarVersionInfo.java:23)
Could you send me (via private mail, if you want) the output of 'bzr
version-info' for your branch?
maybe you have and alias to generate a tweaked version-info output?
The Java library assume that the output is, somethig like:
revision-id: <a revid>
date: <a date>
build-date: <a date>
revno: <a revno>
branch-nick: <the branch nick>
> I see you added a new "Local branch directory" field. Thanks! I set
> that to "bzrp4". I tried with Advanced Project Options > Use custom
> workspace > Directory set as before, and with it unset now that I can
> specify a local branch directory. I get the above exception in both
Yes, also I added support for multiple branches ;-)
> I also tried explicitly setting Source Code Management > Working
> directory to the full path to Hudson's "workspace" directory. Still
> no luck.
>> Nice tutorial! ;-)
>> Can I use this as an base for a tutorial/example at the wiki?
> Yes, of course.
More information about the bazaar