How to add link to build page?

Hi, I figured out a way to get convert the junit xml to html using ant. After the build is done, I will have a script to copy the surefire-report directory to a folder which is hosted on the same server, and can be accessed by http, e.g. http://mygit.myserver.com/gitlabbuilds/[build number]/report.html

So I'd like to link the above html to the build status icon (when Builds is clicked), so I can easily check the junit report.

This page:

https://gitlab.com/gitlab-org/gitlab-ce/builds

Replace the passed/failed status icon link to my junit html report link

So how do I do that? (also need to replace above [build number] to the real build number)

Thanks

Edited by Jason Yavorsky