'In gitlab CI is there a way to visualise custom output files

I am migrating from Jenkins CI to gitlab CI. In jenkins I was able to parse some extra output files - for example a my_results.xml file which has some lines in XML which we could parse into a custom visualisation like the ones below:

enter image description here

Note: these are just example visualisations.

My XML might have some simple lines like:

<summary>
   <warnings>10</warnings>
   <errors>2</errors>
</summary>

This would be displayed over time into a graph like in the images above. Is it possible to write a custom parser / visualiser in gitalb CI?



Solution 1:[1]

There is no such thing in GitLab as Jenkins plugins.

But you could - for instance - develop a side application that interacts with GitLab through its APIs.

There, you'll be able to do whatever you want. For instance download Job artifacts, store them in a timeseries database, display them in a dashboard.

If the application is a pure web client, it could even be hosted in GitLab pages.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 pismy