<http://stackoverflow.com/questions/39236255/failed-to-publish-testng-report-in-jenkins#>
 

I have used Maven project with Selenium & TestNG to create automated 
scripts which I want to execute from Jenkins. In Jenkins I have added the 
TestNG plugin to publish the TestNG report. But it is not getting 
displayed. I'm getting the below mentioned error.



*Error:* TestNG Reports Processing: START Looking for TestNG results report 
in workspace using pattern: */target/surefire-reports/testng-results.xml* 
Did not find any matching files. Finished: SUCCESS


Actual path of the TestNG report file: 
*E:\JAVA\WORKSPACE\SeleneniumFrameWork\target\surefire-reports\testng-results.xml*


I have tried the following options but didn't work out for me.

   1. 
   
   Tried giving the full path of the TestNG report. Forward ans backward 
   slash in the pattern. <http://i.stack.imgur.com/DSpFU.jpg>
   2. 
   
   I have tried different other options by changing the TestNG result file 
   path but it's working for me.
   
I'm using Jenkins 2.7.0 in Windows 10. Please share some inputs on how to 
resolve this issue.


*Screenshot of Jenkins Workspace:*

<https://lh3.googleusercontent.com/-GOr1abCH1l4/V8mq8l-tePI/AAAAAAAAABs/9dHrc_Oje6ozjMGJOInAcz9FQF-0_gzTQCLcB/s1600/Jenkins_Workspace.jpg>




*Screenshot of Console Output:*

<https://lh3.googleusercontent.com/-xqrX8VQvntg/V8mrR-yJOzI/AAAAAAAAABw/AIkDtN5_JbMKm0n7aYem64dEYNvsohKkACLcB/s1600/ConsoleOutput.jpg>



-- 
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/62eadcaf-bd85-4c0e-b617-625ee998224e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to