i'm running a pipeline in my GitLab project where automated ui tests are executed. After the tests has been finished it will generate a test report where also a .html file is generated to be able to view the test results in the browser. The generated files will be archived as artifact via the pipeline job.
.gitlab-ci.yml
artifacts:
name: ${TESTREPORT_TITLE}
when: always
paths:
- ${ARTIFACT_REPORT}
reports:
junit: ${ARTIFACT_REPORT}${TESTREPORT_TITLE}.html.junit.xml
expire_in: 60 days
We have activated GitLab Pages to directly open .html files out of the artifact job archive. That only works for public projects. But in private project it give me following hint:
The source could not be displayed because it is stored as a job artifact. You can download it instead.
Is there some extra configuration missing?
Our GitLab Instance is self-hosted / On-Premise.
Thanks in advance for any help or advice!