title: Jenkins TestNG plugin does not fetch results from the test-results.xml file
body: <p>In my project workspace, the test-results.xml file exists inside the target\surefire-reports\testng-results.xml directory. But Jenkins fails to read the XML file and gives below error on console.</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>To ensure the file isn't too old, I had checked that the test-results.xml (and other files) belong to the latest test run. The Jenkins server is running on Ubuntu 14.04 LTS.</p>
  
  <p>I'm running my tests in this manner: My project root directory has a <code>run_tests.sh</code> script which looks like this:</p>
  
  <pre><code>#!/bin/bash
  
  if [ "$1" = "" ]; then
      echo "Please provide a valid suite XML file name."
  else
      mvn clean
      mvn compile
      mvn clean test -Dsurefire.suiteXmlFiles="$1"
  fi
  </code></pre>
  
  <p>I just pass the suite XML file name as a parameter to this script in Jenkins (execute shell).</p>
  
  <p>Please help.</p>