[users at bb.net] Failed gitpoller on bitbucket using only_tags=True

Pierre Tardy tardyp at gmail.com
Sun Apr 30 07:43:21 UTC 2017

Hi Uung,
I am not sure exactly what could be your problem. I know that some people
are using the only_tags option as this was a recently contributed feature.

I would make sure you have a recent version of git on the worker. Maybe
this is why git is clashing with the strange refsspecs.

There are currentl several people working on updating the change hook for
There is this PR: https://github.com/buildbot/buildbot/pull/2530 and I know
Bill Deegan is working on it for Scons.

On Thu, Apr 27, 2017 at 11:14 AM Uung Bhuwono <uung at 88spares.com> wrote:

> Hi,
> I set my buildbot to do auto deployment each time there's new tag from my
> git repo on bitbucket
> Following that I've wrote in master.cfg for gitpoller
> c['change_source'].extend(changes.GitPoller(
>     source_root + name + '.git', workdir=work_dir + name,
>     only_tags=True,
>     pollinterval=18 + i*60) for i, name in enumerate(projects))
> **I've declare vars work_dir, name and projects on top of my master.cfg
> When I look into my twistd.log, got following error invalid refspec when
> buildbot trying to pull tag
> ['https://buildbot:password@bitbucket.org/bitbucket/project.git',
> '+refs/tags/v0.1:refs/buildbot/https%3A%2F%2Fbuildbot%3password%
> 40bitbucket.org%2Fbitbucket%2Fproject.git/refs/tags/v0.1',
> '+refs/tags/v0.1^{}:refs/buildbot/https%3A%2F%2Fbuildbot%3password%
> 40bitbucket.org%2Fbitbucket%2Fproject.git/refs/tags/v0.1^{}',
> '+refs/tags/v0.2:refs/buildbot/https%3A%2F%2Fbuildbot%3password%
> 40bitbucket.org%2Fbitbucket%2Fproject.git/refs/tags/v0.2',
> '+refs/tags/v0.2^{}:refs/buildbot/https%3A%2F%2Fbuildbot%3password%
> 40bitbucket.org%2Fbitbucket%2Fproject.git/refs/tags/v0.2^{}'] in
> /src/88/gitpoller/project on repourl
> https://buildbot:password@bitbucket.org/bitbucket/project.git failed with
> exit code 128: fatal: Invalid refspec
> '+refs/tags/v0.1^{}:refs/buildbot/https%3A%2F%2Fbuildbot%3password%
> 40bitbucket.org%2Fbitbucket%2Fproject.git/refs/tags/v0.1^{}
> How can I make buildbot work to listen for new push tag on my repo?
> Thanks in advance,
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170430/b1e281f8/attachment.html>

More information about the users mailing list