我刚刚开始使用CruiseControl .NET(使用刚出来的Manning Continuous集成书),我遇到了配置文件的问题。
我收到错误:<trunkURL>
标记上的“未使用的节点”。
(略微清理,使用[]作为占位符)配置文件如下所示。谁能发现我的错误?我在想/希望这很简单。
<cruisecontrol xmlns:cb="urn:ccnet.config.builder">
<!-- This is your CruiseControl.NET Server Configuration file. Add your projects below! -->
<project name="Build[Project]Lib">
<workingDirectory>F:\CI\Build[Project]Lib\</workingDirectory>
<artifactDirectory>F:\CI\Artifacts.Build[Project]Lib</artifactDirectory>
<webURL>http://localhost/ccnet</webURL>
<triggers>
<intervalTrigger initialSeconds="0" />
</triggers>
<sourcecontrol type="svn">
<executable>C:\Program Files\CollabNet\Svn\svn.exe</executable>
<trunkURL>https://localhost:443/svn/[Solution]/trunk/src/[Project].Lib/</trunkURL>
<username>buildmaster</username>
<password>[Password]</password>
</sourcecontrol>
<tasks>
<msbuild>
<executable>C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe</executable>
<projectFile>[Project].Lib.csproj</projectFile>
<buildArgs>
/p:Configuration=Release /verbosity:minimal
</buildArgs>
<logger>F:\CruiseControl.NET\server\ThoughtWorks.CruiseControl.MSBuild.dll</logger>
</msbuild>
</tasks>
</project>
预先感谢您提供任何帮助!
一切顺利, 肖恩
答案 0 :(得分:2)
我实际上在经过一些搜索之后找到了答案(当然,在我发布之后!)
无论如何,为了将来参考,问题是当我应该使用<TrunkURL>
时我正在使用<TrunkUrl>
。