Merge branch 'docs/add-artifact-file-url' into 'master'
Add documentation for stable URLs for Artifacts See merge request gitlab-org/gitlab-ce!21890
This commit is contained in:
commit
a1529944e9
1 changed files with 14 additions and 0 deletions
|
@ -151,6 +151,20 @@ For example:
|
||||||
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/artifacts/master/browse?job=coverage
|
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,
|
The latest builds are also exposed in the UI in various places. Specifically,
|
||||||
look for the download button in:
|
look for the download button in:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue