summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2020-10-01 02:02:37 +0200
committerNejc Habjan <nejc.habjan@siemens.com>2020-10-12 18:29:06 +0200
commit375b29d3ab393f7b3fa734c5320736cdcba5df8a (patch)
tree0dbd527745aed711731769554c9ec729e141ee33 /docs
parent0733ec6cad5c11b470ce6bad5dc559018ff73b3c (diff)
downloadgitlab-375b29d3ab393f7b3fa734c5320736cdcba5df8a.tar.gz
docs(cli): add example for job artifacts download
Diffstat (limited to 'docs')
-rw-r--r--docs/cli-usage.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/cli-usage.rst b/docs/cli-usage.rst
index 10fd73a..d66d738 100644
--- a/docs/cli-usage.rst
+++ b/docs/cli-usage.rst
@@ -313,6 +313,12 @@ Define the status of a commit (as would be done from a CI tool for example):
--target-url http://server/build/123 \
--description "Jenkins build succeeded"
+Download the artifacts zip archive of a job:
+
+.. code-block:: console
+
+ $ gitlab project-job artifacts --id 10 --project-id 1 > artifacts.zip
+
Use sudo to act as another user (admin only):
.. code-block:: console