我正在尝试使用Go和Git设置新的管道。Git和Go服务器(Cruise)的问题
它挂在我试图通过围棋服务器连接到Git的“添加管道”屏幕上,如果我尝试使用Git的运行工作,我得到这个错误:
2011-01-20 10:02:57,421 ERROR [MessageListener for MaterialUpdateListener] MaterialDatabaseUpdater:66 - Modification check failed for material: [email protected]:xxx/xxxxxx.git
java.lang.RuntimeException: Failed to run git clone command
at com.thoughtworks.cruise.util.ExceptionUtils.bomb(ExceptionUtils.java:24)
at com.thoughtworks.cruise.domain.materials.git.GitMaterial.getGit(GitMaterial.java:163)
at com.thoughtworks.cruise.domain.materials.git.GitMaterial.latestModification(GitMaterial.java:64)
at com.thoughtworks.cruise.server.materials.LegacyMaterialChecker.findLatestModification(LegacyMaterialChecker.java:19)
at com.thoughtworks.cruise.server.materials.MaterialDatabaseUpdater.insertLatestOrNewModifications(MaterialDatabaseUpdater.java:106)
at com.thoughtworks.cruise.server.materials.MaterialDatabaseUpdater.addNewMaterialWithModifications(MaterialDatabaseUpdater.java:123)
at com.thoughtworks.cruise.server.materials.MaterialDatabaseUpdater.initializeMaterialWithLatestRevision(MaterialDatabaseUpdater.java:76)
at com.thoughtworks.cruise.server.materials.MaterialDatabaseUpdater.updateMaterial(MaterialDatabaseUpdater.java:57)
at com.thoughtworks.cruise.server.materials.MaterialUpdateListener$1.doInTransaction(MaterialUpdateListener.java:33)
at com.thoughtworks.cruise.server.transaction.TransactionCallback.doWithExceptionHandling(TransactionCallback.java:8)
at com.thoughtworks.cruise.server.transaction.TransactionTemplate$1.doInTransaction(TransactionTemplate.java:20)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:128)
at com.thoughtworks.cruise.server.transaction.TransactionTemplate.executeWithExceptionHandling(TransactionTemplate.java:18)
at com.thoughtworks.cruise.server.materials.MaterialUpdateListener.onMessage(MaterialUpdateListener.java:31)
at com.thoughtworks.cruise.server.materials.MaterialUpdateListener.onMessage(MaterialUpdateListener.java:14)
at com.thoughtworks.cruise.server.messaging.activemq.JMSMessageListenerAdapter.runImpl(JMSMessageListenerAdapter.java:46)
at com.thoughtworks.cruise.server.messaging.activemq.JMSMessageListenerAdapter.run(JMSMessageListenerAdapter.java:31)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.Exception: Failed to run git clone command
at com.thoughtworks.cruise.util.ExceptionUtils.bombIfFailedToRunCommandLine(ExceptionUtils.java:34)
at com.thoughtworks.cruise.domain.materials.git.GitMaterial.git(GitMaterial.java:182)
at com.thoughtworks.cruise.domain.materials.git.GitMaterial.getGit(GitMaterial.java:161)
... 16 more
我的管道配置:
<pipeline name="TEST" labeltemplate="0.0.${COUNT}">
<materials>
<git url="[email protected]:xxx/xxxxxx.git" />
</materials>
<stage name="Complete">
<approval type="manual" />
<jobs>
<job name="Deploy">
<tasks>
<exec command="echo" args="This should deploy" />
</tasks>
</job>
</jobs>
</stage>
</pipeline>
我可以从CMD运行git clone,并确认git在我的路径中。
我在Windows(32位)上运行,并获得与Chrome和Firefox相同的行为。谷歌什么都没有了!
有人看到过这种行为吗?
看到你为Go付出代价,或许你应该从商业支持中获得你的钱。 – leonm 2011-01-20 10:55:44
我正在使用社区版,但他们仍然与他们保持联系(!) – laura 2011-01-20 11:01:17