1
I’ve the html report generated under the artifacts folder for a given job, now I want to make that HTML report to be available in one of the nginx hosted web server (http://some_domain_name:8080).
my .yml
file looks like below:
job:
artifacts:
name: "artifact_name"
paths:
- artifacts
expire_in: 7 days
I think I’m able to download the artifacts using below API and extract the html report:
curl --location --output artifacts.zip --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/1/jobs/42/artifacts"
Is there a way that we can configure .yml
file to make that html file from the artifacts folder to be available on a nginx web server ?