Fix artifact uploading in Evergreen
@@ -135,12 +135,12 @@ functions:
params:
script: |
${PREPARE_SHELL}
- find $MONGO_ORCHESTRATION_HOME -name \*.log | xargs tar czf ${PROJECT_DIRECTORY}/mongodb-logs.tar.gz
+ find $MONGO_ORCHESTRATION_HOME -name \*.log | xargs tar czf mongodb-logs.tar.gz
- command: s3.put
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
- local_file: ${PROJECT_DIRECTORY}/mongodb-logs.tar.gz
+ local_file: mongodb-logs.tar.gz
remote_file: ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-mongodb-logs.tar.gz
bucket: mciuploads
permissions: public-read
@@ -150,7 +150,7 @@ functions:
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
- local_file: ${DRIVERS_TOOLS}/.evergreen/orchestration/server.log
+ local_file: drivers-tools/.evergreen/orchestration/server.log
remote_file: ${UPLOAD_BUCKET}/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-orchestration.log
bucket: mciuploads
permissions: public-read
