Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: xunit
Created: 21/Jun/13 9:52 AM
Description:

I have a parameterised build that allows me to skip the Unit Tests as required, but the build fails when this is used because:

With the checkboxes:
"Skip if there are no test files" checked
"Fail the build if the results were not updated this run" unchecked
I would expect the absence of the test files not to fail the build.

BUILD SUCCESSFUL
Total time: 16 minutes 34 seconds
[xUnit] [INFO] - Starting to record.
[xUnit] [INFO] - Processing PHPUnit-3.x (default)
[xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build\*\report\*.xml' relative to 'C:\jenkins-node-workspace\workspace\Reports-Package' for the testing framework 'PHPUnit-3.x (default)'.  Did you enter a pattern relative to the correct directory?  Did you generate the result report(s) for 'PHPUnit-3.x (default)'?
[xUnit] [WARNING] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build\*\report\*.xmlIgnore.
[xUnit] [INFO] - Setting the build status to FAILURE
[xUnit] [INFO] - Stopping recording.
Build step 'Publish xUnit test result report' changed build result to FAILURE
Archiving artifacts
Sending e-mails to: xxx
Finished: FAILURE
Environment: Windows Server 2003
Project: Jenkins
Priority: Major Major
Reporter: Iain Mackay
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to