Creating a custom report using ccnet

So, I have my conclusion that I used the merge task for input to ccnet.

Now I need to make my own xsl and output the data.

Any ideas on where there might be a tutorial on how to do this?

For example, which plugin do I need to use? Can I create my own? What does an action name do?

<xslReportBuildPlugin description="MSBuild Output" actionName="MSBuildOutputBuildPlugin" xslFileName="xsl\msbuild.xsl" />
+3
source share
1 answer

in the cruise control folder:

CruiseControl.NET\webdashboard\xsl

  • Copy any existing xsl (preferably one that is close to what you already want or in the right format). You can also run the xsl file from scratch.
  • edit it so that it is with your own file name.

I copied msbuild.xsl to BMsBuild.xsl and made my changes.

dashboard.config

<xslReportBuildPlugin description="BBuildReport" actionName="BBuildReport" xslFileName="xsl\Bmsbuild.xsl"></xslReportBuildPlugin>
  • : -.
  • actionName: , URL- xsl/report
  • xslFileName: xsl xsl [ xsl ].xsl

. xsl, , . , xsl xml , , logger xml ccnet.config

<publishers>
  <statistics/>
  <xmllogger logDir="D:\Projects\TFS\Main\BuildProcess\logs\ServiceBuilds" />
</publishers>
+4

Source: https://habr.com/ru/post/1749295/


All Articles