CruiseControl与ANT集成以构建C#解决方案
我已经安装了CruiseControl 1.0.1和Ant apache-Ant-1.9.12。我正试图将它们集成到我的C#项目中,因此我在 ccnet.configCruiseControl与ANT集成以构建C#解决方案,c#,ant,cruisecontrol.net,C#,Ant,Cruisecontrol.net,我已经安装了CruiseControl 1.0.1和Ant apache-Ant-1.9.12。我正试图将它们集成到我的C#项目中,因此我在 ccnet.config <cruisecontrol> <project name="VGProject"> <webURL>http://localhost/ccnet</webURL> <schedule type="schedule" sleepSeconds="7200"/
<cruisecontrol>
<project name="VGProject">
<webURL>http://localhost/ccnet</webURL>
<schedule type="schedule" sleepSeconds="7200"/>
<sourcecontrol type="nullSourceControl" />
<exec>
<ant antscript="C:/Dev Softwares/Ant/apache-ant-1.9.12/ant.bat"
antworkingdir="C:/Projects/vgproject/build/"
buildfile="C:/Projects/vgproject/build/build.xml"
uselogger="true"
usedebug="false"/>
</exec>
</project>
</cruisecontrol>
http://localhost/ccnet
当我触发一个构建时,它只是说没有构建就成功了。它表示未使用/检测到节点
我的build.XML是正确的。巡航控制系统没有执行我的build.XML
非常感谢您的建议。
谁能帮助标准ccnet配置使用ant集成/执行构建xml。您似乎把
ant
与nant
混淆了。这两个问题都有标记,但它们是不同的产品,不能互换
您已将构建定义为type=“nant”
,但您为其提供的可执行文件是ant.bat
,而不是nant.exe的位置。这就是问题的原因
p.S.cruisecontrol
和cruisecontrol.net
也是不同的产品:您应该只标记您正在使用的产品。我的项目需要ant,因为构建类型=“ant”不存在,所以我尝试使用Nant。我还尝试了C:\Apache\Apache-ant-1.8.1\bin\ant.bat C:\Apache internalpush.xml true-false。但是它没有帮助。它表示未使用的计划/脚本。