CruiseControl.Net构建日志在升级后不在CCNet网站上显示

我们已经使用CruiseControl.Net几年了,它一直工作正常。 但是,自从我们上个星期前升级到最新版本(1.5.0.6237)以来,我们的构建报告无法显示在ccnet网站上。 相反,我们会收到以下消息:

"BUILD FAILED
Project: TX
Date of build: 2010-06-22 23:41:54
Running time: 00:05:06
Integration Request: Build (ForceBuild) triggered from ScheduleTrigger
Last changed: 2010-06-22 15:14:14
Last log entry: Merge Branches:
Origin=$/Source/RE/Branches/3.1
Version: 2629 [DT-  3652]: Reporting:
Capture tradable duration seperately
Modifications since last build (10)
Checked in Donald.sutherland Trunk/SLP/SLPDatabase/CreateScripts/CreateReportDataStoreTables.sql
Merge Branches: Origin=$/Source/RE/Branches/3.1
Version: 2629 [DT-3652]: Reporting:
Capture tradable duration seperately
2010-06-22 15:14:14
Checked in Donald.sutherland Trunk/SLP/SLPDatabase/Change Scripts/ReportDataStore/RpDataStoreDatabaseChangeScript.sql
Merge Branches: Origin=$/Source/RE/Branches/3.1
Version: 2629 [DT-3652]: Reporting:
Capture tradable duration seperate

应该遵循的是一些错误消息,指出构建失败的原因。 无法解析日志文件的网页是“ViewBuildReport.aspx”。 为了得到解释,我们的开发团队必须通过完整的Build Log xml并搜索失败。

build.config文件如下所示:

<project name="TX" queue="Build" queuePriority="1400">
 <triggers>
  <scheduleTrigger time="21:00" buildCondition="ForceBuild">
   <weekDays>
    <weekDay>Monday</weekDay>
    <weekDay>Tuesday</weekDay>
    <weekDay>Wednesday</weekDay>
    <weekDay>Thursday</weekDay>
    <weekDay>Friday</weekDay>
    <weekDay>Saturday</weekDay>
    <weekDay>Sunday</weekDay>
   </weekDays>
  </scheduleTrigger>
 </triggers>
 <sourcecontrol type="vault" autoGetSource="true" applyLabel="false">
  <executable>c:program filessourcegearvault clientvault.exe</executable>
  <username>build</username>
  <password>*********</password>
  <host>niddrie.dataexplorers.net:8080</host>
  <repository>DXL Source</repository>
  <folder>$/Source/TX/Trunk</folder>
  <ssl>false</ssl>
  <useWorkingDirectory>true</useWorkingDirectory>
  <workingDirectory>D:ProjectsSourceTXTrunk</workingDirectory>
  <cleanCopy>true</cleanCopy>
  <timeout units="minutes">30</timeout>
 </sourcecontrol>
 <tasks>
  <msbuild>
   <executable>C:WINDOWSMicrosoft.NETFrameworkv4.0.30319MSBuild.exe</executable>
   <workingDirectory>D:ProjectsSourceTXTrunk</workingDirectory>
   <projectFile>TransactionExplorer.sln</projectFile>
   <buildArgs>/noconsolelogger /p:Configuration=Release /v:diag</buildArgs>
   <targets>Build</targets>
   <timeout>600</timeout>
   <logger>C:Program FilesCruiseControl.NETserverThoughtWorks.CruiseControl.MSBuild.dll</logger>
  </msbuild>
  <exec>
   <executable>deploy.bat</executable>
   <baseDirectory>D:ProjectsSourceTXTrunk</baseDirectory>
   <buildArgs>D:ProjectsSourceTXTrunk D:MasterWebsiteSfsWebrootAutobuildTX</buildArgs>
   <buildTimeoutSeconds>500</buildTimeoutSeconds>
  </exec>
 </tasks>
 <publishers>
  <!-- Mandatory, config file does not work without -->
  <xmllogger logDir="C:Program FilesCruiseControl.NETserverTXArtifactsbuildlogs" />
  &email;
 </publishers>
</project>

正如你所看到的,有一个发布者,并且自从我们升级到最新的CruiseControl版本以来,配置文件并没有改变。 最后,在编译期间生成必要的日志文件,这似乎是xsd解析或网站本身的问题? 下面列出了生成的生成结果文件:

  • C: Program Files CruiseControl.NET server TX Artifacts msbuild-results.xml
  • C: Program Files CruiseControl.NET server TX Artifacts buildlogs log20100622234154.xml
  • 任何帮助得到这个工作将不胜感激。


    你检查了你的电子邮件发布者吗 CCNET 1.5发生了突破性的变化。 你可以在这里阅读更多 :

  • http://ccnetlive.thoughtworks.com/ccnet/doc/CCNET/CCNet%201.5%20CTP%20Release%20Notes.html
  • http://ccnetlive.thoughtworks.com/ccnet/doc/CCNET/Email%20Publisher.html
  • 如果我理解你的话,你说你的构建工作正常,但是因为你升级它失败了,不是吗? 你是如何做升级的? 你改变目录/权利了吗?

    链接地址: http://www.djcxy.com/p/23269.html

    上一篇: CruiseControl.Net build logs not showing on CCNet website after upgrade

    下一篇: CruiseControl.NET Set Variable to a dynamic value