Performance trend in Jenkins
-
wrote on 1 Jun 2017, 19:20 last edited by
Is there a way to get QBENCHMARK performance trend in Jenkins? There is a few Jenkins plugins for that purpose but their input formats are not available under QTest unit test applications output choices.
Thanks -
Hi and welcome to devnet,
What format are they using ?
-
wrote on 2 Jun 2017, 14:16 last edited by
Thank you SGaist
Each Jenkins performance plugin uses different formats. For example, the following plugin https://plugins.jenkins.io/perfpublisher uses this format : DTD report
Unfortunetly, the XUnit format (option -xunitxml) of the QTest applications don't output any benchmark data while Jenkins plugins could use it.
The options : -csv -xml -lightxml outputs benchmark data but I didn't found any Jenkins plugin for those formats.
Is there a converter somewhere ?
-
wrote on 2 Jun 2017, 14:51 last edited by
I use Jenkins but I only use unit tests rather than benchmarks so I can't be certain but I feed -xml output to plugins that expect XUnit and works fine
-
wrote on 2 Jun 2017, 15:47 last edited by
Yes that's right. Jenkins unit test plugins can process -xml output. It works fine. But Jenkins performance plugins dont recognize this format.
-
wrote on 5 Jun 2017, 13:55 last edited by
If there is not way to get benchmark trend running in Jenkins, maybe I could develop a converter. Something like this :
$ ./myQtTests -x lightxml | ./myConverter > supportedJenkinsPluginFormat.xml
... unfortunately, it's very time consuming :(
If someone else know a better solution...
-
wrote on 20 Apr 2020, 08:55 last edited by
Hello. We have exactly the same problem and so far we haven't found a solution. Would it be too much trouble to send us that xml conversion project?
Thank you very much.