forked from travis-ci/artifacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
UPLOAD_USAGE.txt
39 lines (32 loc) · 2.16 KB
/
UPLOAD_USAGE.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
NAME:
upload - upload some artifacts!
USAGE:
command upload [command options] [arguments...]
DESCRIPTION:
Upload a set of local paths to an artifact repository. The paths may be
provided as either positional command-line arguments or as the $ARTIFACTS_PATHS
environment variable, which should be :-delimited.
Paths may be either files or directories. Any path provided will be walked for
all child entries. Each entry will have its mime type detected based first on
the file extension, then by sniffing up to the first 512 bytes via the net/http
function "DetectContentType".
OPTIONS:
--key, -k upload credentials key *REQUIRED* (default "") [$ARTIFACTS_KEY]
--bucket, -b destination bucket *REQUIRED* (default "") [$ARTIFACTS_BUCKET]
--cache-control artifact cache-control header value (default "private") [$ARTIFACTS_CACHE_CONTROL]
--permissions artifact access permissions (default "private") [$ARTIFACTS_PERMISSIONS]
--secret, -s upload credentials secret *REQUIRED* (default "") [$ARTIFACTS_SECRET]
--s3-region region used when storing to S3 (default "us-east-1") [$ARTIFACTS_REGION]
--repo-slug, -r repo owner/name slug (default "") [$ARTIFACTS_REPO_SLUG]
--build-number build number (default "") [$ARTIFACTS_BUILD_NUMBER]
--build-id build id (default "") [$ARTIFACTS_BUILD_ID]
--job-number job number (default "") [$ARTIFACTS_JOB_NUMBER]
--job-id job id (default "") [$ARTIFACTS_JOB_ID]
--concurrency upload worker concurrency (default "5") [$ARTIFACTS_CONCURRENCY]
--max-size max combined size of uploaded artifacts (default "1048576000") [$ARTIFACTS_MAX_SIZE]
--upload-provider, -p artifact upload provider (artifacts, s3, null) (default "s3") [$ARTIFACTS_UPLOAD_PROVIDER]
--retries number of upload retries per artifact (default "2") [$ARTIFACTS_RETRIES]
--target-paths, -t artifact target paths (':'-delimited) (default "[:]") [$ARTIFACTS_TARGET_PATHS]
--working-dir working directory (default ".") [$ARTIFACTS_WORKING_DIR]
--save-host, -H artifact save host (default "") [$ARTIFACTS_SAVE_HOST]
--auth-token, -T artifact save auth token (default "") [$ARTIFACTS_AUTH_TOKEN]