Atlassian Bamboo:第一个计划,只需下载本地 git 存储库即可完成简单的工作
我刚刚下载了 Bamboo 持续集成服务器的免费试用版,并且只从 git 下载源代码就创建了第一个计划。我在竹机上有一个本地 git 存储库,因此 git URL 指向本地路径。
问题是,当我运行该作业时,即使等待一个小时,它也永远不会完成。这是活动日志的最后几行:
07-Apr-2011 20:03:23 Checking out revision f9dc82500914333ed4bbdae5ed038771fd658c3c.
07-Apr-2011 20:03:23 Creating local git repository in '/home/bob/bamboo-home/xml-data/build-dir/DEV-DEV-1/.git'.
从 shell 中,我可以转到日志中显示的目录,并查看源代码是否已正确克隆到ebamboo 工作目录。但这项工作永远不会完成,日志也不会再有任何更新。我必须手动终止该作业。有什么想法吗?我错过了什么吗?
I just downloaded the free trial of Bamboo continuous integration server, and created the first plan with nothing but downloading the source code from the git. I have a local git repository on the bamboo machine so the git URL is pointing to a local path.
The problem is that when I run the job, it never finishes even after waiting for an hour. This is the last lines of the activity log:
07-Apr-2011 20:03:23 Checking out revision f9dc82500914333ed4bbdae5ed038771fd658c3c.
07-Apr-2011 20:03:23 Creating local git repository in '/home/bob/bamboo-home/xml-data/build-dir/DEV-DEV-1/.git'.
From the shell I can go to the directory shown in the log and see that the source code were cloned correctly to the bamboo working directory. But the job will never finish and the log will not have any more update from here. I have to manually terminate the job. Any ideas? Do I miss something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只是猜测,因为我们工作中的 Bamboo 实例是从 Accurev 而不是 Git 中提取的,而且我自己从未遇到过这个问题 - 但它可能会挂起因为没有定义构建器为了那个计划。您可以尝试定义一个构建器(即使您知道它会失败)只是为了看看它是否能够进入下一步。
Just a guess, since the Bamboo instance we have at work pulls from Accurev and not Git, and I've never run into this problem myself - but it may be hung because there isn't a builder defined for that plan. You might try defining a builder (even if it's one that you know will fail) just to see if it makes it to that next step.
我有非常类似的问题。
这不是非常原始的解决方案,但我刚刚卸载了竹子并再次安装了它。现在它可以工作了
I had very similar problem.
It's not very original solution but I just uninstalled bamboo and installed it again.. Now it works now