See https://about.gitlab.com/blog/2015/10/22/gitlab-8-1-released/#commit-status-api and https://docs.gitlab.com/ce/api/commits.html#post-the-build-status-to-a-commit