0
votes

I'm stuck configuring tests for Jenkins. In the Publish JUnit test result report I have test-reports/*.xml but I'm getting the error:

'test-reports/*.xml' doesn't match anything: 'test-reports' exists but not 'test-reports/*.xml'

When I try */.xml I get:

Did not manage to validate **/*.xml (may be too slow)

When I throw an .xml file into test-reports folder manually it is deleted after the build.

What do?

1
by any chance are you deleting test results as part of build?Jayan
Not intentionally anyway. Where would this happen?Widget
What is the value you have in test xml file location? Note that the input is ant style pattern with workspace directory as root. You may need to see the directory structure under test-reports. You need to use ** to check files from subdirectory.Jayan
I've tried using the entire directory up the test-reports folder if that's what you mean. Same error occurs.Widget
please attache the screen shot of the configuration or copy contents of <hudson.tasks.junit.JUnitResultArchiver> from the job's config file. It may help some else looking into this. It is not clear what is 'entire directory' means.Jayan

1 Answers

0
votes

It might actually be an issue with XCode. We figured out that it was actually skipping the application tests and it just wasn't evident anywhere on Jenkins' console output.