Skip to content
Browse files

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 330c0cc55fc0e5d9534e345e9c10b1129e6b191e
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/java/hudson/plugins/android_emulator/
@@ -420,6 +420,7 @@ private Environment doSetUp(final AbstractBuild<?, ?> build, final Launcher laun
return new Environment() {
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));

0 comments on commit 330c0cc

Please sign in to comment.
You can’t perform that action at this time.