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
SUP-1372 fix compressed when ignore-missing is set (#91)
* Updated README.md version numbers
* Removed compression expression wrap
* Updated compression test, add new compression ignore-missing test
* Removed mocked glob pathing in upload compressed tests
* Add clarification when using compressed with ignore-missing
* Update test title
---------
Co-authored-by: Pol (Paula) <pzeballos@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ This functionality duplicates the [artifact_paths](https://buildkite.com/docs/pi
10
10
steps:
11
11
- command: ...
12
12
plugins:
13
-
- artifacts#v1.9.0:
13
+
- artifacts#v1.9.1:
14
14
upload: "log/**/*.log"
15
15
```
16
16
@@ -20,7 +20,7 @@ You can specify multiple files/globs to upload as artifacts:
20
20
steps:
21
21
- command: ...
22
22
plugins:
23
-
- artifacts#v1.9.0:
23
+
- artifacts#v1.9.1:
24
24
upload: [ "log/**/*.log", "debug/*.error" ]
25
25
```
26
26
@@ -30,7 +30,7 @@ And even rename them before uploading them (can not use globs here though, sorry
30
30
steps:
31
31
- command: ...
32
32
plugins:
33
-
- artifacts#v1.9.0:
33
+
- artifacts#v1.9.1:
34
34
upload:
35
35
- from: log1.log
36
36
to: log2.log
@@ -47,7 +47,7 @@ eg: uploading a public file when using S3
47
47
steps:
48
48
- command: ...
49
49
plugins:
50
-
- artifacts#v1.9.0:
50
+
- artifacts#v1.9.1:
51
51
upload: "coverage-report/**/*"
52
52
s3-upload-acl: public-read
53
53
```
@@ -57,7 +57,7 @@ eg: uploading a private file when using GS
57
57
steps:
58
58
- command: ...
59
59
plugins:
60
-
- artifacts#v1.9.0:
60
+
- artifacts#v1.9.1:
61
61
upload: "coverage-report/**/*"
62
62
gs-upload-acl: private
63
63
```
@@ -70,7 +70,7 @@ This downloads artifacts matching globs to the local filesystem. See [downloadin
70
70
steps:
71
71
- command: ...
72
72
plugins:
73
-
- artifacts#v1.9.0:
73
+
- artifacts#v1.9.1:
74
74
download: "log/**/*.log"
75
75
```
76
76
@@ -80,7 +80,7 @@ You can specify multiple files/patterns:
80
80
steps:
81
81
- command: ...
82
82
plugins:
83
-
- artifacts#v1.9.0:
83
+
- artifacts#v1.9.1:
84
84
download: [ "log/**/*.log", "debug/*.error" ]
85
85
```
86
86
@@ -90,7 +90,7 @@ Rename particular files after downloading them:
90
90
steps:
91
91
- command: ...
92
92
plugins:
93
-
- artifacts#v1.9.0:
93
+
- artifacts#v1.9.1:
94
94
download:
95
95
- from: log1.log
96
96
to: log2.log
@@ -102,7 +102,7 @@ And even do so from different builds/steps:
102
102
steps:
103
103
- command: ...
104
104
plugins:
105
-
- artifacts#v1.9.0:
105
+
- artifacts#v1.9.1:
106
106
step: UUID-DEFAULT
107
107
build: UUID-DEFAULT-2
108
108
download:
@@ -145,7 +145,7 @@ When uploading, the file or directory specified in the `upload` option will be c
145
145
steps:
146
146
- command: ...
147
147
plugins:
148
-
- artifacts#v1.9.0:
148
+
- artifacts#v1.9.1:
149
149
upload: "log/my-folder"
150
150
compressed: logs.zip
151
151
```
@@ -156,14 +156,14 @@ When downloading, this option states the actual name of the artifact to be downl
156
156
steps:
157
157
- command: ...
158
158
plugins:
159
-
- artifacts#v1.9.0:
159
+
- artifacts#v1.9.1:
160
160
download: "log/file.log"
161
161
compressed: logs.tgz
162
162
```
163
163
164
164
### `ignore-missing` (optional, boolean)
165
165
166
-
If set to `true`, it will ignore errors caused when calling `buildkite-agent artifact` to prevent failures if you expect artifacts not to be present in some situations.
166
+
If set to `true`, it will ignore errors caused when calling `buildkite-agent artifact` to prevent failures if you expect artifacts not to be present in some situations. When using the `compressed` property, it will ignore compressing the artifacts that are not present.
167
167
168
168
### `skip-on-status` (optional, integer or array of integers, uploads only)
169
169
@@ -177,7 +177,7 @@ Skip uploading if the main command failed with exit code 147:
177
177
steps:
178
178
- command: ...
179
179
plugins:
180
-
- artifacts#v1.9.0:
180
+
- artifacts#v1.9.1:
181
181
upload: "log/*.log"
182
182
skip-on-status: 147
183
183
```
@@ -188,7 +188,7 @@ Alternatively, skip artifact uploading on exit codes 1 and 5:
0 commit comments