Maybe you should use xunit plugin to transform and publish the xmlreports.

I'm not familiar with mstest but I use this technique for publishing cppunit and ctest result reports, and

xunit has an option to publish mstest results too.


On 2016-08-08 12:58, sandhyaranimukkamala...@gmail.com wrote:
Thanks for the reply Suresh!
We used C# code with MSTest framework.\
We tried to get the .xml report by using "Publish JUnit test result Report" in the Post Build action. We tried to give the path to create an xml report in the workspace, but it throws the below error.

"ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were 
found. Configuration error?"
*Could please provide us steps to configure the Junit test result report.*

We also configured test result analyzer plugin, but gets the error as shown in the attachment.

Which needs to be displaying the results as shown in this page https://wiki.jenkins-ci.org/display/JENKINS/Test+Results+Analyzer+Plugin

Regards,
Sandhya


On Saturday, August 6, 2016 at 2:54:37 AM UTC-7, suresh kumar wrote:

    Hi Sandhya,
    Which technology you are using for writing unit tests, e.g. NUnit
    or VSTests or MSTests
    In the post build section respective report publisher we have to
    choose and providing the path of xml report generated by the executor.
    So that the Unit Tests results will be populated in Jenkins

    -Suresh

    On Friday, August 5, 2016 at 11:40:23 AM UTC+5:30,
    sandhyarani...@gmail.com wrote:

        Hi,

        We are using Jenkins to run unit tests. We have configured a
        job and given the msbuild and batch file to run the scripts.
        We are successful in executing the scripts, the problem is we
        are not able to view any test results.

        We are not having Test Result link in the build history.

        
<https://lh3.googleusercontent.com/-3ILJfQP9rbA/V6Qs7DaTD-I/AAAAAAAAAAM/EPDGc6C7XXEpZBAYK37PRYwvZLWx5TIXACLcB/s1600/Jenkins_TestResult.png>











        We are using Jenkins2.6 version, also tried with different
        versions of  Jenkins, yet we are facing the same issue.

        Added the following plugins:
        MSBuild
        MSTest
        MSTest Runner
        xvnc
        VSTest Runner

        Also, given the path for generating MSTest Results in the post
        build actions.

        Would like to know if we are needed to add any plugin to get
        the link.

        Thanks.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/e8d7f854-bd1d-400c-95bd-6585826de59e%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/e8d7f854-bd1d-400c-95bd-6585826de59e%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c62e60ec-6584-7d66-77fd-829d78fa9f86%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to