Ignore upload_symbol errors on build servers
upload_symbols was failing intermittently due to xargs and curl errors.
Ignoring these failures as the symbols can always built and uploaded
afterwards.
Change-Id: Ic79decfcb1716bbd24931a496f343758258db3de
diff --git a/src/main/groovy/com/android/tools/internal/emulator/BuildEmulator.groovy b/src/main/groovy/com/android/tools/internal/emulator/BuildEmulator.groovy
index 208af84..4472e7e 100644
--- a/src/main/groovy/com/android/tools/internal/emulator/BuildEmulator.groovy
+++ b/src/main/groovy/com/android/tools/internal/emulator/BuildEmulator.groovy
@@ -120,9 +120,15 @@
result = p.waitFor()
+ /*
+ upload symbols throws errors intermittently due to use of xargs
+ This shouldn't cause the build to marked as a fail so ignore the result
+ Can always generate and upload symbols from debug archive
+
if (result != 0) {
throw new BuildException("Failed to run upload-symbols command. See console output", null)
}
+ */
}
}