Bazaar and Hudson

Guillermo Gonzalez guillo.gonzo at
Mon Oct 27 02:56:35 GMT 2008

Hi Matt,

On Mon, Oct 27, 2008 at 12:37 AM, Matt McClure <mlm at> wrote:
> On Sun, Oct 26, 2008 at 1:42 PM, Guillermo Gonzalez
> <guillo.gonzo at> wrote:
>> On Sun, Oct 26, 2008 at 2:30 PM, Matt McClure <mlm at> 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:
>> 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
> 1
> java.lang.ArrayIndexOutOfBoundsException: 1
>        at org.vcs.bazaar.client.BazaarVersionInfo.parse(
>        at

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
> cases.

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.
> Matt



More information about the bazaar mailing list