diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-18 16:39:44 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2016-09-18 16:39:44 +0200 |
commit | 505d9cf9b2229ede14004e5ee7d754e67b1fbf75 (patch) | |
tree | 0c3e63b7890b937ddfcad4d4e8b4ad00e8eef931 | |
parent | ed52d82b6c600c7a344b6cca79ea646a564e4f06 (diff) | |
download | gitlab-ce-505d9cf9b2229ede14004e5ee7d754e67b1fbf75.tar.gz |
Document how to download the latest build artifacts
[ci skip]
-rw-r--r-- | doc/user/project/builds/artifacts.md | 32 | ||||
-rw-r--r-- | doc/user/project/builds/img/build_latest_artifacts_browser.png | bin | 0 -> 26617 bytes |
2 files changed, 32 insertions, 0 deletions
diff --git a/doc/user/project/builds/artifacts.md b/doc/user/project/builds/artifacts.md index c93ae1c369c..88f1863dddb 100644 --- a/doc/user/project/builds/artifacts.md +++ b/doc/user/project/builds/artifacts.md @@ -101,4 +101,36 @@ inside GitLab that make that possible. ![Build artifacts browser](img/build_artifacts_browser.png) +## Downloading the latest build artifacts + +It is possible to download the latest artifacts of a build via a well known URL +so you can use it for scripting purposes. + +The structure of the URL is the following: + +``` +https://example.com/<namespace>/<project>/builds/artifacts/<ref>/download?job=<job_name> +``` + +For example, to download the latest artifacts of the job named `rspec 6 20` of +the `master` branch of the `gitlab-ce` project that belongs to the `gitlab-org` +namespace, the URL would be: + +``` +https://gitlab.com/gitlab-org/gitlab-ce/builds/artifacts/master/download?job=rspec+6+20 +``` + +The latest builds are also exposed in the UI in various places. Specifically, +look for the download button in: + +- the main project's page +- the branches page +- the tags page + +If the latest build has failed to upload the artifacts, you can see that +information in the UI. + +![Latest artifacts button](img/build_latest_artifacts_browser.png) + + [gitlab workhorse]: https://gitlab.com/gitlab-org/gitlab-workhorse "GitLab Workhorse repository" diff --git a/doc/user/project/builds/img/build_latest_artifacts_browser.png b/doc/user/project/builds/img/build_latest_artifacts_browser.png Binary files differnew file mode 100644 index 00000000000..d8e9071958c --- /dev/null +++ b/doc/user/project/builds/img/build_latest_artifacts_browser.png |