Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error description on build failure using msbuild #291

Open
AndersBillLinden opened this issue Jun 16, 2020 · 1 comment
Open

No error description on build failure using msbuild #291

AndersBillLinden opened this issue Jun 16, 2020 · 1 comment

Comments

@AndersBillLinden
Copy link
Contributor

If a msbuild execution fails, it seems like I only get the list of the most recent modifications but no error text. The same if mstests fails. No information about which tests that failed. I am using msbuild 15.

@obones
Copy link
Contributor

obones commented Oct 29, 2020

I believe you have to use a custom logger to go from MSBuild output to CCNet.
Here we use this parameter in the msbuild task:

  <logger>$(CCNetDir)\server\Rodemeyer.MsBuildToCCNet.dll</logger>

And when we create the report email, we also use this:

    <xslFile>xsl\msbuild2ccnet.xsl</xslFile>

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants