summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2018-09-26 13:56:34 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2018-09-26 13:56:34 +0000
commita1529944e962fc9b4addee324b4e606c4b7b1e93 (patch)
tree11030234eb3e08b8ee54296bc2c43d66b7bf749d
parent404b7802d1d1a11f3fb7c5d4955927d74331b303 (diff)
parent3290e580b5829d4e1594d4d3b128836525afad3f (diff)
downloadgitlab-ce-a1529944e962fc9b4addee324b4e606c4b7b1e93.tar.gz
Merge branch 'docs/add-artifact-file-url' into 'master'
Add documentation for stable URLs for Artifacts See merge request gitlab-org/gitlab-ce!21890
-rw-r--r--doc/user/project/pipelines/job_artifacts.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/user/project/pipelines/job_artifacts.md b/doc/user/project/pipelines/job_artifacts.md
index fc3970e2014..a8b47558c99 100644
--- a/doc/user/project/pipelines/job_artifacts.md
+++ b/doc/user/project/pipelines/job_artifacts.md
@@ -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: