This is the back end for TestHub. It supports the receiving of test reports from CI jobs via REST and stores those reports so that they can be retrieved by a web UI that displays them in a time series style table for an at a glance aggregated view.
You can find the front end code Here
You can run the backend on localhost:8080 with this gradle command
gradle bootRun --args='--spring.profiles.active=local'
There is a kubernetes stateful set and a service template that you can use to deploy a dockerised image of TestHub.
The stateful set contains a persistent volume mount that allows pods to be destroyed/moved to other nodes without losing the reports store
The steps can be extracted from Jenkinsfile though be run against a local kubernetes cluster or run locally with docker
There is another jenkins job in the same instance that builds a bare gradle docker image, with just the spring boot / third party gradle dependencies for TestHub to avoid having to pull these dependencies every time the TestHub pipeline is built. It's named TestHub-dependencies cache. This image is the base image for the TestHub-pipeline and contains a gradle dependencies cache
- Alex Watts - (https://github.com/alexwatts)
This project is licensed under the MIT License