I have the CI running and the Tests create a lot of HTML output.
This HTML is copied to an external server.
So after my Pipeline is complete, I want a Link that brings the user from Gitlab to the HTML.
Is this possible?
It’s been a few years, but I have the same requirement - is there any solution?
FWIW, in my use-case I’m generating Swagger output, which I publish to a website (so we have a record of every build). I also have junit test results (which Gitlab keeps), but simultaneously I generate Allure output which again, I store on a website for historical purposes.
If guess I’d like it if I could set an artifact to be a hyperlink, perhaps something like:
- artifacts:
reports:
hyperlinks:
- url: ${VARIABLE}
description: "Test results for build ${CI_PIPELINE_ID}"
- url: ${OTHER_VARIABLE}
description: "Swagger documentation for ${CI_PIPELINE_ID}"
Those hyperlinks could appear in the list of artifacts, along with files and whatnot.