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

  • How to fork a background process in Jenkins? Setting BUILD_ID and using nohup seems to be non working
  • Maven build-helper-maven-plugin regex unable to use property as dependency.version
  • Jenkins - Using the results of one job, in another job
  • failed to create task or type checkenv Cause The name is undefined
  • How to debug android project from git using Jenkins frontend?
  • Problems getting my ANT builds to work after OS upgrade
  • 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

    build-project:
        [echo] JUnitTest1: C:\Users\----\Documents\workspace\JUnitTest1\build.xml
    
    init:
    
    build-project:
        [echo] JUnitTest1UnitTests: C:\Users\-----\Documents\workspace\JUnitTest1UnitTests\build.xml
    
    build:
    
     BUILD SUCCESSFUL
     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
    

  • Overriding openshift maven script (jenkins gear)
  • Quickly testing Jelly templates in email-ext of Jenkins
  • Puppet 3 file recurse terribly slow
  • jenkins slave can't get started
  • Jenkinsfile with two git repositories
  • Error building iOS app on Jenkins (MacOSX server)
  • Git Baby is a git and github fan, let's start git clone.