Bug 1366644 - Pre: Print Android sdkmanager package listing. r=maliu draft
authorNick Alexander <nalexander@mozilla.com>
Mon, 16 Oct 2017 13:24:47 -0700
changeset 681827 33e5c9f81d05551c9e167eac62009f1de023b410
parent 681625 f27105b62753c71ecadad2f8d632ec7e5ac96bbd
child 681828 1f42d73b53bb46b29d3602845c62578576cd0f3e
push id84947
push usernalexander@mozilla.com
push dateTue, 17 Oct 2017 21:26:05 +0000
reviewersmaliu
bugs1366644
milestone58.0a1
Bug 1366644 - Pre: Print Android sdkmanager package listing. r=maliu This is simply diagnostic; it's nice to see what the versions of the Android packages installed are, like: Installed packages: Path | Version | Description | Location ------- | ------- | ------- | ------- <snip> platforms;android-23 | 3 | Android SDK Platform 23 | platforms/android-23/ tools | 26.0.1 | Android SDK Tools 26.0.1 | tools/ This is really useful because it's not possible to pin most packages to specific versions; that is, we can only install latest "tools", not "tools;26.0.1". MozReview-Commit-ID: HgZLGCAObEs
taskcluster/scripts/misc/repack-android-sdk-linux.sh
--- a/taskcluster/scripts/misc/repack-android-sdk-linux.sh
+++ b/taskcluster/scripts/misc/repack-android-sdk-linux.sh
@@ -8,11 +8,15 @@ WORKSPACE=$HOME/workspace
 UPLOAD_DIR=$HOME/project/gecko/android-sdk
 
 mkdir -p $HOME/artifacts $UPLOAD_DIR
 
 # Populate /builds/worker/.mozbuild/android-sdk-linux.
 cd /builds/worker/workspace/build/src
 ./mach python python/mozboot/mozboot/android.py --artifact-mode --no-interactive
 
+# It's nice to have the build logs include the state of the world upon
+# completion.
+/builds/worker/.mozbuild/android-sdk-linux/tools/bin/sdkmanager --list
+
 tar cf - -C /builds/worker/.mozbuild android-sdk-linux | xz > $UPLOAD_DIR/android-sdk-linux.tar.xz
 
 ls -al $UPLOAD_DIR