<div dir="ltr">Hi Uung,<div>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.</div><div><br></div><div>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.</div><div><br></div><div>There are currentl several people working on updating the change hook for bit</div><div>There is this PR: <a href="https://github.com/buildbot/buildbot/pull/2530" target="_blank">https://github.com/buildbot/buildbot/pull/2530</a> and I know Bill Deegan is working on it for Scons.</div><div><a href="http://www.baddogconsulting.com/">http://www.baddogconsulting.com/</a><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 27, 2017 at 11:14 AM Uung Bhuwono <<a href="mailto:uung@88spares.com" target="_blank">uung@88spares.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I set my buildbot to do auto deployment each time there's new tag from my git repo on bitbucket</div><div>Following that I've wrote in master.cfg for gitpoller </div><div><br></div><div><div>c['change_source'].extend(changes.GitPoller(</div><div>    source_root + name + '.git', workdir=work_dir + name,</div><div>    only_tags=True,</div><div>    pollinterval=18 + i*60) for i, name in enumerate(projects))</div></div><div><br></div><div>**I've declare vars work_dir, name and projects on top of my master.cfg</div><div><br></div><div>When I look into my twistd.log, got following error invalid refspec when buildbot trying to pull tag</div><div><br></div><div><div><div><div>['<a href="https://buildbot:password@bitbucket.org/bitbucket/project.git" target="_blank">https://buildbot:password@bitbucket.org/bitbucket/project.git</a>', '+refs/tags/v0.1:refs/buildbot/https%3A%2F%2Fbuildbot%3password%<a href="http://40bitbucket.org" target="_blank">40bitbucket.org</a>%2Fbitbucket%2Fproject.git/refs/tags/v0.1', '+refs/tags/v0.1^{}:refs/buildbot/https%3A%2F%2Fbuildbot%3password%<a href="http://40bitbucket.org" target="_blank">40bitbucket.org</a>%2Fbitbucket%2Fproject.git/refs/tags/v0.1^{}', '+refs/tags/v0.2:refs/buildbot/https%3A%2F%2Fbuildbot%3password%<a href="http://40bitbucket.org" target="_blank">40bitbucket.org</a>%2Fbitbucket%2Fproject.git/refs/tags/v0.2', '+refs/tags/v0.2^{}:refs/buildbot/https%3A%2F%2Fbuildbot%3password%<a href="http://40bitbucket.org" target="_blank">40bitbucket.org</a>%2Fbitbucket%2Fproject.git/refs/tags/v0.2^{}'] in /src/88/gitpoller/project on repourl <a href="https://buildbot:password@bitbucket.org/bitbucket/project.git" target="_blank">https://buildbot:password@bitbucket.org/bitbucket/project.git</a> failed with exit code 128: fatal: Invalid refspec '+refs/tags/v0.1^{}:refs/buildbot/https%3A%2F%2Fbuildbot%3password%<a href="http://40bitbucket.org" target="_blank">40bitbucket.org</a>%2Fbitbucket%2Fproject.git/refs/tags/v0.1^{}</div><div><br></div></div><div>How can I make buildbot work to listen for new push tag on my repo?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div><br></div></div><div><br></div></div></div>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div></div>