We are setting the CI on our GitLab and we are able to show build status and code coverage on master using the following:
README.md
in root directory of myproject
:
[](http://mygitlab/mygroup/myproject/commits/master)
[](http://mygitlab/mygroup/myproject/commits/master)
Something we would like is show build status/code coverage of current branch when viewing the README.md
in the branch. Right now, the links have master
hardcoded so the branches show the status of the master.
Is there a way to use relative URL (or something else) so the build status / code coverage automatically adapt to the branch you're viewing? Looking at the documentation, it looks like it's impossible, because you have to specify the branch.
master
and the coverage data is inserted in a database. We can plot the data to see the evolution in time.