You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ steps:
31
31
- command: ...
32
32
plugins:
33
33
- artifacts#v1.9.4:
34
-
upload:
34
+
upload:
35
35
- from: log1.log
36
36
to: log2.log
37
37
```
@@ -91,7 +91,7 @@ steps:
91
91
- command: ...
92
92
plugins:
93
93
- artifacts#v1.9.4:
94
-
download:
94
+
download:
95
95
- from: log1.log
96
96
to: log2.log
97
97
```
@@ -105,7 +105,7 @@ steps:
105
105
- artifacts#v1.9.4:
106
106
step: UUID-DEFAULT
107
107
build: UUID-DEFAULT-2
108
-
download:
108
+
download:
109
109
- from: log1.log
110
110
to: log2.log
111
111
step: UUID-1
@@ -114,23 +114,23 @@ steps:
114
114
build: UUID-2
115
115
```
116
116
117
-
## Configuration
117
+
## Mandatory Configuration
118
+
119
+
You must specify at least one of the following
118
120
119
121
### `upload` (string, array of strings, {from,to}, array of {from,to})
120
122
121
-
A glob pattern, or array of glob patterns, for files to upload.
123
+
A glob pattern, or array of glob patterns, for files to upload as-is. Alternatively, you can specify `from` and `to` to rename the artifact before uploading.
122
124
123
125
### `download` (string, array of strings, {from,to}, array of {from,to[,step][,build]})
124
126
125
-
A glob pattern, or array of glob patterns, for files to download.
126
-
127
-
### `step` (optional, string)
127
+
A glob pattern, or array of glob patterns, for files to download. Alternatively you can specify `from` and `to` to rename the artifact after downloading. If you do so, you can also specify `step` and/or `build` to override those options for that particular artifact.
128
128
129
-
The job UUID or name to download the artifacts from unless specified otherwise in the `download` array specification.
129
+
## Other Configuration
130
130
131
-
### `build` (optional, string)
131
+
### `build` (`download`-only, string)
132
132
133
-
The build UUID to download the artifact from unless specificed otherwise in the `download` array specification.
133
+
The build UUID to download all artifacts from. Note that you can override it for specific artifacts when using the verbose format of the `download` element.
134
134
135
135
### `compressed` (optional, string)
136
136
@@ -195,6 +195,10 @@ steps:
195
195
- 5
196
196
```
197
197
198
+
### `step` (`download`-only, string)
199
+
200
+
The job UUID or name to download all artifacts from. Note that you can override it for specific artifacts when using the verbose format of the `download` element.
201
+
198
202
## Developing
199
203
200
204
To run testing, shellchecks and plugin linting use use `bk run` with the [Buildkite CLI](https://github.com/buildkite/cli).
0 commit comments