title: Generation of Selenium reports using Hudson (now known as Jenkins) from JUnit XML format file
body: <p>For Test Automation of web project we use <a href="http://en.wikipedia.org/wiki/Hudson_%28software%29" rel="nofollow">Hudson</a>, <a href="http://en.wikipedia.org/wiki/PHPUnit" rel="nofollow">PHPUnit</a>, and <a href="http://en.wikipedia.org/wiki/Selenium_%28software%29" rel="nofollow">Selenium</a>. The results of the build are stored in the <a href="http://en.wikipedia.org/wiki/JUnit" rel="nofollow">JUnit</a> XML format. </p>
  
  <p>When I try to include generation of reports using the Hudson <strong>Publish JUnit test result report</strong> option, the build finishes with <strong>Failed</strong> status.</p>
  
  <p>Below is my Hudson configuration to run the tests.</p>
  
  <pre><code>sudo -u apache phpunit - log-junit /var/lib/hudson/jobs/Work-stars-Tests/builds/${BUILD_ID}/ seleniumReports/seleniumTests.xml + path to test php files
  </code></pre>
  
  <p>Generation of reports is enabled through the Hudson configuration option <strong>«Publish JUnit test result report»</strong>, where I specify the path to the folder with PHP tests.</p>
  
  <p>The user we use to run Hudson has permission to write/read files in the folder with the reports. As for the path we've tried to specify both full and relative. </p>
  
  <p>The error <strong>No test report files were found. Configuration error?</strong> is displayed in the console after the build.</p>
  
  <p>How do we resolve this issue?</p>