lundi 27 juin 2016

Rspec reports happening before test begins

I'm trying to set up a test job on Jenkins, using a ruby test. The test works perfectly on the VM thats Jenkins is set up with, but the failure occurs when it tries to generate a report.xml document.

Finished in 1 minute 21.54 seconds (files took 2.12 seconds to load)
13 examples, 0 failures
Archiving artifacts
Recording test results
Test reports were found but none of them are new. Did tests run? 
For example, C:\Jenkins\workspace\COMPANYNAME - STAGING - SMOKE - Full Preview Test\browser\firefox\lib\spec\reports\results.xml is 7 days 1 hr old

Build step 'Publish JUnit test result report' changed build result to FAILURE
Finished: FAILURE

When I watch the VM, inside of the lib/spec/reports I actually see the report being generated with a date modified attribute of 6/20/2016. Even when I delete the .xml, it will be generated with the same date modified. If you guys need any additional info or code please comment with request.

Aucun commentaire:

Enregistrer un commentaire