File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,23 @@ functions:
157
157
content_type : ${content_type|text/plain}
158
158
display_name : " orchestration.log"
159
159
160
+ " upload working dir logs " :
161
+ - command : shell.exec
162
+ params :
163
+ script : |
164
+ ${PREPARE_SHELL}
165
+ find ${PROJECT_DIRECTORY} -name \*.log | xargs tar czf working-dir-logs.tar.gz
166
+ - command : s3.put
167
+ params :
168
+ aws_key : ${aws_key}
169
+ aws_secret : ${aws_secret}
170
+ local_file : working-dir-logs.tar.gz
171
+ remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-working-dir-logs.tar.gz
172
+ bucket : mciuploads
173
+ permissions : public-read
174
+ content_type : ${content_type|application/x-gzip}
175
+ display_name : " working-dir-logs.tar.gz"
176
+
160
177
" upload working dir " :
161
178
- command : archive.targz_pack
162
179
params :
@@ -394,6 +411,7 @@ post:
394
411
# Removed, causing timeouts
395
412
# - func: "upload working dir"
396
413
- func : " upload mo artifacts"
414
+ - func : " upload working dir logs"
397
415
- func : " upload test results"
398
416
- func : " cleanup"
399
417
You can’t perform that action at this time.
0 commit comments