Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Export ANDROID_SERIAL environment variable, as adb can use this. Fixe…
…s JENKINS-9692.

This means scripts can now just call "adb" instead of "adb -s $ANDROID_AVD_DEVICE".
  • Loading branch information
orrc committed May 15, 2011
1 parent f2e403b commit 330c0cc
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -420,6 +420,7 @@ private Environment doSetUp(final AbstractBuild<?, ?> build, final Launcher laun
return new Environment() {
@Override
public void buildEnvVars(Map<String, String> env) {
env.put("ANDROID_SERIAL", serial);
env.put("ANDROID_AVD_DEVICE", serial);
env.put("ANDROID_AVD_ADB_PORT", Integer.toString(adbPort));
env.put("ANDROID_AVD_USER_PORT", Integer.toString(userPort));
Expand Down

0 comments on commit 330c0cc

Please sign in to comment.