File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,26 @@ functions:
121
121
permissions : public-read
122
122
content_type : ${content_type|application/x-gzip}
123
123
124
+ " upload android logs " :
125
+ # Compress and upload the entire build directory
126
+ - command : archive.targz_pack
127
+ params :
128
+ # Example: mongo_c_driver_releng_9dfb7d741efbca16faa7859b9349d7a942273e43_16_11_08_19_29_52.tar.gz
129
+ target : " ${build_id}.tar.gz"
130
+ source_dir : ${PROJECT_DIRECTORY}/.android/download_logs
131
+ include :
132
+ - " ./**"
133
+ - command : s3.put
134
+ params :
135
+ aws_key : ${aws_key}
136
+ aws_secret : ${aws_secret}
137
+ local_file : ${build_id}.tar.gz
138
+ # Example: /mciuploads/${UPLOAD_BUCKET}/gcc49/9dfb7d741efbca16faa7859b9349d7a942273e43/debug-compile-nosasl-nossl/mongo_c_driver_releng_9dfb7d741efbca16faa7859b9349d7a942273e43_16_11_08_19_29_52.tar.gz
139
+ remote_file : ${UPLOAD_BUCKET}/${build_variant}/${revision}/${task_name}/${build_id}.tar.gz
140
+ bucket : mciuploads
141
+ permissions : public-read
142
+ content_type : ${content_type|application/x-gzip}
143
+
124
144
" exec script" :
125
145
- command : shell.exec
126
146
type : test
@@ -431,6 +451,7 @@ tasks:
431
451
- name : " embedded-test-android"
432
452
commands :
433
453
- func : " run embedded tests android"
454
+ - func : " upload android logs"
434
455
435
456
- name : " atlas-test"
436
457
commands :
Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ if [ ! -e $SDK_HOME ]; then
15
15
mkdir -p $DOWNLOAD_LOGS
16
16
(
17
17
cd $SDK_HOME
18
+
19
+ mkdir -p " $SDK_HOME /licenses"
20
+ echo " 24333f8a63b6825ea9c5514f83c2829b004d1fee" > " $SDK_HOME /licenses/android-sdk-license"
21
+
18
22
export JAVA_HOME=" /opt/java/jdk8"
19
23
20
24
export ANDROID_HOME=${SDK_HOME}
You can’t perform that action at this time.
0 commit comments