-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 2.401.1
robot-plugin 3.4.0
-
-
3.5.1
When publishing robot results with :
robot( logFileName: "**/log.html", outputFileName: "**/output.xml", outputPath: 'test_results', reportFileName: **/report.html, passThreshold: 100, unstableThreshold: 100, onlyCritical: false )
the plugin correctly display the robot report, the graph and the links towards log.html, output.xml and report.html are correctly created on the build page. The hyperlinks are OK.
Nevertheless, on the build console log displays 2 warnings :
12:59:16 Robot results publisher started... 12:59:16 -Parsing output xml: 12:59:16 Done! 12:59:16 WARNING! Could not find file: **/log.html 12:59:16 WARNING! Could not find file: **/report.html 12:59:16 -Copying log files to build dir: 12:59:16 Done! 12:59:16 -Assigning results to build: 12:59:16 Done! 12:59:16 -Checking thresholds: 12:59:16 Done! 12:59:16 Done publishing Robot results.
saying that neither **/log.html nor **/report.html can be found.
The test_results directory has the followging structure :
test_results |--<timestamp> | - <scenario1> | - Scenario1 test execution related files. | - <scenario2> | - Scenario2 test execution related files. | ... several scenarioX dir ... | |- log.html |- report.html |- output.xml
I emphasize the fact that though the warnings, the log.html and repot.html links correctly redirect to formatted reports. In other words, the only problem here seems to be the wrong WARNING lines.