Good morning,
I´m having a problem while running a build of a project on Jenkins using the plugin "TestRail plugin notifier". I was able to successfully install the TestRail plugin made available, made the project git/clone, successfully build the project, generated the .hpi file and then installed the plugin.
I consider this plugin a lot of value its great to have this, at the moment I configured everything as indicated on the page and when adding a "Post Build Action" after selecting "Notify TestRail" in the "Test Report XMLs" option I put the following location "build / test-results / *. Xml".
After running the build I get the following error:
13 tests completed, 1 failed
There were failing tests. See the report at: file:///C:/Program%20Files%20(x86)/Jenkins/workspace/ofbiz-2016/ofbiz/build/reports/tests/index.html
:check
:gitInfoFooter
:svnInfoFooter
:build
BUILD SUCCESSFUL
Total time: 3 mins 42.843 secs
Build step 'Invoke Gradle script' changed build result to SUCCESS
Archiving artifacts
Test Cases:
> (and list all test cases from project in testrail)
Munging test result files.
Scanning C:\WINDOWS\TEMP\hudson8397530472820072564tmp
processing hudson8397530472820072564tmp
Uploading results to TestRail.
Failed to add results to TestRail.
status: 400
body :
{"error":"Field :results cannot be empty (one result is required)"}
Build step 'Notify TestRail' marked build as failure
Finished: FAILURE
Can someone please give me a hand in resolving? I've tried several folder locations with results and nothing works.
Good morning, I´m having a problem while running a build of a project on Jenkins using the plugin "TestRail plugin notifier". I was able to successfully install the TestRail plugin made available, made the project git/clone, successfully build the project, generated the .hpi file and then installed the plugin.
I consider this plugin a lot of value its great to have this, at the moment I configured everything as indicated on the page and when adding a "Post Build Action" after selecting "Notify TestRail" in the "Test Report XMLs" option I put the following location "build / test-results / *. Xml".
After running the build I get the following error:
Can someone please give me a hand in resolving? I've tried several folder locations with results and nothing works.
Thanks in advance, Manuela