aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lang <joshualang@google.com>2016-04-01 12:38:09 -0700
committerJoshua Lang <joshualang@google.com>2016-04-01 12:38:09 -0700
commit4642d0b6286963fd14c1bd939ae12c14fb513720 (patch)
treeb8c37235dd3a61f68cb16d3c55ef6af27a55e82d
parent1e4bb1d50916fc088df1f2c9958fb6db414493ee (diff)
downloadbuildSrc-emu-2.2-release.tar.gz
Ignore upload_symbol errors on build serversemu-2.2-release
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
-rw-r--r--src/main/groovy/com/android/tools/internal/emulator/BuildEmulator.groovy6
1 files changed, 6 insertions, 0 deletions
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 @@ class BuildEmulator extends DefaultTask {
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)
}
+ */
}
}