每次有来自我的新标记时,我都会将buildbot设置为自动部署 bitbucket上的git repo 之后我在master.cfg中写了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))
**我已经在master.cfg上声明了vars work_dir,名称和项目
当我查看我的twistd.log时,得到以下错误无效的refspec buildbot试图拉标签
['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^{}
如何让buildbot工作以在我的仓库上监听新的推送标签?
提前致谢