在用CC做每日构建时,加上了SVN段就出错了。大家有建议吗?
<sourcecontrol type="svn" autoGetSource="true" ><trunkUrl>https://lg:8443/svn/MvcApplication1/</trunkUrl>
<workingDirectory>D:\Projects.Net2008\MvcApplication1\</workingDirectory>
<executable>C:\Program Files\VisualSVN Server\bin\svn.exe</executable>
<username>administrator</username>
<password>111111</password>
</sourcecontrol>
如果把这段注释掉就没事。但却实现不了自动拿最新代码。:(
如果用上这段,就老提示出错。 新手。。写出来的没有错误,但是运行却没反应。。有人知道原因吗?
-------------------------------------------------
<cruisecontrol>
<project name="project1">
<webURL>http://localhost/ccnet/</webURL>
<sourcecontrol type="svn">
<trunkUrl>file:///c:/SVNRepos/project1/trunk</trunkUrl>
<workingDirectory>C:\sandbox\project1</workingDirectory>
<executable>C:\Program Files\Subversion\bin\svn.exe</executable>
<username>******</username>
<password>******</password>
<autoGetSource>false</autoGetSource>
<timeout>120000</timeout>
</sourcecontrol>
<tasks>
<nant>
<executable>C:\Program Files\NAnt\bin\nant.exe</executable>
<baseDirectory>C:\ci\1\project1</baseDirectory>
<buildFile>default.build</buildFile>
<targetList>
<target>run</target>
</targetList>
<buildTimeoutSeconds>10000</buildTimeoutSeconds>
</nant>
</tasks>
</project>
</cruisecontrol> 没试过,关注 谢谢您的辛苦发帖 交流交流好啊!楼主真厉害
页:
[1]