English 中文(简体)
越野车。 网上塔什图板没有显示结果
原标题:CruiseControl.Net Web Dashboard not displaying results

有问题显示游轮网上仪表板的结果。

我建立了一只冲破项目建筑的集束文件。 然后使用<代码>nunit。 在我的测验中,他们执行并完成公正的罚款(我可以开标,看到结果)。 <代码>ccnet记录显示,记录文档已成功合并。 然而,正如我可能的那样,我可以让它出现在网上仪表板上。 这只是令人沮丧的:

BUILD FAILED
Project:    GroundControlTests
Date of build:  2011-01-07 17:16:36
Running time:   00:00:58
Integration Request:    mmayo triggered a build (ForceBuild) from PC0098
Projects built with no warnings at all :-)
Modifications since last build (0)

尽管信息失败,但还是发出信息。

我怀疑它与轴变有关,但只是试图了解我能够想到的一切。

当然,如果我点击“观点构建”标志,那么它就显示,但主要报告却登上了显示通行证,并且没有:

我的集束文件如下,任何建议都受到赞赏。

-nant.build--

<project name="GroundControl" default="cleanNunit" basedir=".">
  <description>Cleanup tasks</description>
  <target name="cleanNunit"
         description="removes nunit log file">
    <delete file="${CCNetArtifactDirectory}
unit-results.xml"
          failonerror="true" />
  </target>
</project>

www.un.org/Depts/DGACM/index_french.htm

<cruisecontrol xmlns:cb="urn:ccnet.config.builder">

    <project name="GroundControlTests">
      <workingDirectory>C:SourceWholesaleCode.EventControl.TestingFrameworkGroundControlReboot</workingDirectory>
      <artifactDirectory>C:SourceWholesaleCode.EventControl.TestingFrameworkGroundControlReboot</artifactDirectory>
    <prebuild>
      <nant>
        <executable>C:Nantin
ant.exe
        </executable>
        <baseDirectory>C:SourceWholesaleCode.EventControl.TestingFrameworkGroundControlReboot</baseDirectory>
        <nologo>false</nologo>
        <buildFile>nant.build</buildFile>
        <targetList>
          <target>cleanNunit</target>
        </targetList>
      </nant>
    </prebuild>

    <tasks>
        <msbuild>
            <executable>C:WINDOWSMicrosoft.NETFrameworkv4.0.30319MSBuild.exe
            </executable>
            <workingDirectory>C:SourceWholesaleCode.EventControl.TestingFrameworkGroundControlReboot
            </workingDirectory>
        <projectFile>GroundControlReboot.sln</projectFile >
            <buildArgs>/noconsolelogger 
            /v:quiet 
            /noconlog 
            /p:Configuration=Debug
            /p:ReferencePath="C:Program FilesNUnit 2.5.9in;C:Program FilesReference AssembliesMicrosoftFramework.NETFrameworkv4.0"
            /p:AdditionalReferencePath="C:Program FilesReference AssembliesMicrosoftFramework.NETFrameworkv4.0"
            </buildArgs>
            <targets>ReBuild</targets >
            <timeout>180</timeout >
<!--            <logger>C:Program FilesCruiseControl.NETserverRodemeyer.MsBuildToCCNet.dll</logger>-->

        </msbuild>
        <exec>
            <executable>C:Program FilesNUnit 2.5.9in
et-2.0
unit-console.exe
            </executable >
            <buildArgs>/xml:C:SourceWholesaleCode.EventControl.TestingFrameworkGroundControlReboot
unit-results.xml
        C:SourceWholesaleCode.EventControl.TestingFrameworkGroundControlRebootGroundControlRebootinDebugGroundControlReboot.dll
      </buildArgs>
      <buildTimeoutSeconds>180</buildTimeoutSeconds>
        </exec>
    </tasks>
    <publishers>
      <merge>
        <files>
          <file>
        C:SourceWholesaleCode.EventControl.TestingFrameworkGroundControlReboot*-results.xml
      </file>
        </files>
      </merge>
      <xmllogger />
      <statistics />
      <artifactcleanup cleanUpMethod="KeepLastXBuilds"
        cleanUpValue="20" />
    </publishers>

    </project>
</cruisecontrol>

www.un.org/Depts/DGACM/index_french.htm

<?xml version="1.0" encoding="utf-8"?>
<dashboard>
  <remoteServices>
    <servers>
      <server name="local" url="tcp://localhost:21234/CruiseManager.rem" allowForceBuild="true" allowStartStopBuild="true" backwardsCompatible="false" />
    </servers>
  </remoteServices>
  <plugins>
    <farmPlugins>
      <farmReportFarmPlugin />
      <cctrayDownloadPlugin />
      <administrationPlugin password="" />
    </farmPlugins>
    <serverPlugins>
      <serverReportServerPlugin />
    </serverPlugins>
    <projectPlugins>
      <projectReportProjectPlugin />
      <viewProjectStatusPlugin />
      <latestBuildReportProjectPlugin />
      <viewAllBuildsProjectPlugin />
    </projectPlugins>
    <buildPlugins>
      <buildReportBuildPlugin>
        <xslFileNames>
        <xslFile>xslheader.xsl</xslFile>
        <xslFile>xslmsbuild2ccnet.xsl</xslFile>
        <xslFile>xslmodifications.xsl</xslFile>
        <xslFile>xsl
ant.xsl</xslFile>     
        <xslFile>xsl	ests.xsl</xslFile>
        </xslFileNames>
      </buildReportBuildPlugin>
      <buildLogBuildPlugin />
    </buildPlugins>
    <securityPlugins>
      <simpleSecurity />
    </securityPlugins>
  </plugins>
</dashboard>
最佳回答

当我从仪表板行政中部署努尼特一揽子计划时,它产生了三项内容:

Under buildReportBuildPlugin it added xslunittests.xsl. This is for the build summary page. It also generated two items for the sidebar to see nunit details (xsl ests.xsl) and nunit timings (xsl imings.xsl). It looks like you have the nunit details xsl file defined for the build summary page which may be why you don t see anything. If you use xslunittests.xsl instead (and reload the dashboard so it actually reads the updated file) that may work. Another option is to just deploy the nunit package from the web dashboard administration page which will update the dashboard.config file for you.

<buildPlugins>
  <buildReportBuildPlugin>
    <xslFileNames>
      <xslFile>xslheader.xsl</xslFile>
      <xslFile>xslmodifications.xsl</xslFile>
      <xslFile>xslunittests.xsl</xslFile>
    </xslFileNames>
  </buildReportBuildPlugin>
  <buildLogBuildPlugin />
  <xslReportBuildPlugin description="NAnt Output" actionName="NAntOutputBuildReport" xslFileName="xslNAnt.xsl"></xslReportBuildPlugin>
  <xslReportBuildPlugin description="NAnt Timings" actionName="NAntTimingsBuildReport" xslFileName="xslNAntTiming.xsl"></xslReportBuildPlugin>
  <xslReportBuildPlugin description="NUnit Details" actionName="NUnitDetailsBuildReport" xslFileName="xsl	ests.xsl"></xslReportBuildPlugin>
  <xslReportBuildPlugin description="NUnit Timings" actionName="NUnitTimingsBuildReport" xslFileName="xsl	iming.xsl"></xslReportBuildPlugin>
</buildPlugins>
问题回答

暂无回答




相关问题
Create directory using Nant

Not sure if I m just totally missing it but I couldn t not figure out how to create a new directory using Nant. Is there built in functionality to do this? Can I just use the command prompt? I tried ...

Setting write permissions on godaddy hosting

I have godaddy asp.net hosting. Every time I upload the build, it’s a manual laborious task of setting write permissions (to folders) through the web interface. Is this any way to automate this ...

What are solid NMaven or build servers for .NET alternatives?

Maven had a long history and is well supported in the Java world. NMaven has received a less successful start and has never become as popular in the C#/.NET world as its larger cousin was in the Java ...

Gallio and MbUnit in NAnt

I am trying to use Gallio (v3.1)/MbUnit/NCover to run a unit test in my C# code, as part of the build process for my continuous integration system. I can get Gallio.Echo.exe to execute the tests and ...

TeamCity NUnit test result visualisation

Is there any way to produce visual results of NUnit tests from within TeamCity s "Tests" tab, currently my NAnt script outputs an .xml file of the results using the following task: <nunit2 ...

building .net applications without Visual Studio

I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...

热门标签