Skip to content

Commit

Permalink
Work around missing Android SDK files w/ emulator
Browse files Browse the repository at this point in the history
Replace apps-android-wikipedia-publish's UbuntuTrusty node label with
AndroidEmulator and add the android-emulator wrapper. The wrapper will
launch the emulator unnecessarily but will also install any missing SDK
dependencies. These changes can be reverted when the SDK Manager Gradle
plugin fix[0] is merged.

[0] JakeWharton/sdk-manager-plugin#57

Bug: T99115
Change-Id: I8395e2fad684a81d4274c1639995d64b4d8996a9
  • Loading branch information
niedzielski committed Sep 8, 2015
1 parent a4bb9d2 commit 14d8e6b
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion jjb/mobile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@

- job-template:
name: 'apps-android-wikipedia-publish'
node: contintLabsSlave && UbuntuTrusty
# TODO: replace AndroidEmulator node label with UbuntuTrusty and remove the
# android-emulator wrapper when
# https://github.com/JakeWharton/sdk-manager-plugin/issues/57 is
# merged.
node: contintLabsSlave && AndroidEmulator
defaults: use-remoteonly-zuul
concurrent: true
triggers:
Expand All @@ -65,6 +69,22 @@
fail: true
- timestamps
- ansicolor
# TODO: replace AndroidEmulator node label with UbuntuTrusty and remove
# the android-emulator wrapper when
# https://github.com/JakeWharton/sdk-manager-plugin/issues/57 is
# merged.
- android-emulator:
os: android-15
target-abi: x86
wipe: false
delete: false
snapshot: true
commandline-options: '-noaudio'
screen-density: 240
screen-resolution: WVGA
locale: en_US
hardware-properties:
vm.heapSize: 512
builders:
- shell: |
declare START_TIME="$(date +"%Y-%m-%dT%H:%M:%S.%N")"
Expand Down

0 comments on commit 14d8e6b

Please sign in to comment.