我在config.xml
文件中有以下代码:
<schedule interval = "300">
<ant anthome="/usr/share/ant"
antworkingdir="${GitDir}"
uselogger="true"
usedebug="true"/>
</schedule>
当我通过它执行构建时,我只是得到输出,就像我在命令行中只输入ant
一样。
我需要能够从Cruisecontrol执行以下命令:
ant debug
如果这有任何区别,我需要能够构建Android应用程序。 怎么做到这一点? 提前谢谢你。
答案 0 :(得分:0)
您已经在config.xml中使用正确的属性来启动使用loglevel debug的ant脚本
...
usedebug="true"
...
相当于ant -debug ...
有关详细信息,请参阅http://cruisecontrol.sourceforge.net/main/configxml.html#ant。