Jenkins Error: No test report files were found. Configuration error?

I can’t figure out why I have this error. I’ve installed ant via jenkins on windows.

My project is called test-freestyle and is held at: C:\Program Files (x86)\Jenkins\workspace\test-freestyle

  • ant/Jenkins: move doesn't support the “quiet” attribute
  • Custom git push ant task wont work in JGit
  • Ivy with Git Repository
  • ANT checkout task fails
  • Determine which file has an error when running YUI compressor from Ant
  • How to set $_SERVER variables when running phpunit tests through Jenkins
  • I’ve manually created an empty Reports folder inside that test-freestyle folder and am trying to follow this tutorial and this StackOverflow post to troubleshoot.

    Here is the folder structure, proof that jenkins sees the directory build failure image
    build failure image
    Is it becasue Program Files needs admin rights to create files?

    My code is in the JUnitTest1 project. My test cases are in JUnitTest1UnitTests

        [echo] JUnitTest1: C:\Users\----\Documents\workspace\JUnitTest1\build.xml
        [echo] JUnitTest1UnitTests: C:\Users\-----\Documents\workspace\JUnitTest1UnitTests\build.xml
     Total time: 0 seconds
     Recording test results
     ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
     Finished: FAILURE

  • Duplicate builds triggered on Jenkins multibranch pipeline
  • How to run all modified JUnit test classes?
  • What does, “FATAL: Error computing merge base” mean?
  • testUI (Jenkins) using espresso
  • Ant with Hudson
  • Why Git fail to connect to local repository with Jenkins (bad config file)?
  • Git Baby is a git and github fan, let's start git clone.