Add documentation for stable URLs for Artifacts

This was not documented, and it is a very useful feature for badges,
versioned documentation, etc.

already exist, it is just not documented. This commit fixes this.
This commit is contained in:
Jorge C. Leitao 2018-09-24 18:53:38 +02:00
parent 4c8d2232ca
commit 3290e580b5
1 changed files with 14 additions and 0 deletions

View File

@ -151,6 +151,20 @@ For example:
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/artifacts/master/browse?job=coverage
```
There is also a URL to specific files, including html files that
are shown in [GitLab Pages](../../../administration/pages/index.md):
```
https://example.com/<namespace>/<project>/-/jobs/artifacts/<ref>/file/<path>?job=<job_name>
```
For example, when a job `coverage` creates the artifact `htmlcov/index.html`,
you can access it at:
```
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/artifacts/master/file/htmlcov/index.html?job=coverage
```
The latest builds are also exposed in the UI in various places. Specifically,
look for the download button in: