diff options
author | Jorge C. Leitao <jorgecarleitao@gmail.com> | 2018-09-24 18:53:38 +0200 |
---|---|---|
committer | Jorge C. Leitao <jorgecarleitao@gmail.com> | 2018-09-24 18:53:38 +0200 |
commit | 3290e580b5829d4e1594d4d3b128836525afad3f (patch) | |
tree | fc3283cf5bcd4aa70d8545a0a56379228256f34e | |
parent | 4c8d2232ca3e4b97a313e9ac4d96dee2b3de9e84 (diff) | |
download | gitlab-ce-3290e580b5829d4e1594d4d3b128836525afad3f.tar.gz |
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.
-rw-r--r-- | doc/user/project/pipelines/job_artifacts.md | 14 |
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: |