巡航控制和 Mercurial。设置问题
我完全是持续集成的新手,但我正在努力学习它。
这是我的设置。
我有一个主要生产地点。电脑A。 我有一个托管 Windows Server 2008 操作系统的虚拟机,其中安装并运行了 Cruise Control.NET。计算机B 我使用 Mercurial 作为安装在计算机 A 中的源代码控制工具。
一切都已配置,我可以在计算机 B Web 服务器上看到 Cruise Control 报告,并且可以在计算机 A Web 服务器上查看我的存储库。
问题如下:
从我的计算机 B 的 Cruise Control 控制台出现以下错误:
源代码控制失败: 无法执行文件 [c:\develop\CCnet\WorkingDir\hg]。该文件可能不存在或不可执行。 找不到文件“C:\develop\CCnet\CCnetrtifacts\msbuils-results.xml”。
我所做的是将我的项目目录复制到 Cruise Control 计算机 c:\develop\CCnet\WorkingDir\ 上
,这是我的 ccnet.config 中包含的源代码控制块:
<sourcecontrol type="hg">
<repo>http://mylocalmachinewebserver<repo>
<workingDirectory>c:\develop\CCnet\WorkingDirectory<workingDirectory>
</sourcecontrol>
有人可以帮助我理解我的问题
吗?
I am completely a newbie in continuous integration but I am trying to learn it.
Here is my set up.
I have a main production location. Computer A.
I have a virtual machine hosting Windows Server 2008 OS which have Cruise Control.NET installed and running. Computer B
I use Mercurial as my source control tool installed in Computer A.
Everything is configured and I can see Cruise Control report on my Computer B Web server and I can me my repository on Computer A Web server.
The problem is the following :
From my Computer B's Cruise Control console I have the following error :
Source control failure :
Unable to execute file [c:\develop\CCnet\WorkingDir\hg]. The file may not exist or may not be executable.
File not found 'C:\develop\CCnet\CCnetrtifacts\msbuils-results.xml.
What I did is that I copied my project directory on the Cruise Control computer c:\develop\CCnet\WorkingDir\
and Here is my source control block included in my ccnet.config :
<sourcecontrol type="hg">
<repo>http://mylocalmachinewebserver<repo>
<workingDirectory>c:\develop\CCnet\WorkingDirectory<workingDirectory>
</sourcecontrol>
Could someone help me understand my problem
Many thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Mercurial 在你的道路上吗?运行巡航控制的用户的路径可能与普通用户不同。是否可以在 Cruisecontrol 配置中提供 hg 的完整路径?
Is mercurial in your path? It's possible that the user under which cruise control is running has a different path than does your normal user. Is it possible to provide the full path to hg in the cruisecontrol config?