From 375b29d3ab393f7b3fa734c5320736cdcba5df8a Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Thu, 1 Oct 2020 02:02:37 +0200 Subject: docs(cli): add example for job artifacts download --- docs/cli-usage.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') 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 -- cgit v1.2.1