зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1249166 - Pre: Fix Android front-end TreeHerder details; force --no-daemon and --offline in automation. r=me
Setting GRADLE_USER_HOME in this way ensures all Gradle invocations in automation have the right flags, rather than just the ones we remember. MozReview-Commit-ID: IL53nZVsFuV --HG-- extra : rebase_source : dafc3c19e75e067481603b6f80692fcea0141b67
This commit is contained in:
Родитель
39c66402fe
Коммит
b8262556d1
|
@ -211,7 +211,6 @@ ifdef MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE
|
|||
.gradle.deps: .aapt.deps FORCE
|
||||
@$(TOUCH) $@
|
||||
$(topsrcdir)/mach gradle \
|
||||
$(if $(MOZILLA_OFFICIAL),--no-daemon --offline --info) \
|
||||
app:assembleAutomationDebug app:assembleAutomationDebugAndroidTest -x lint
|
||||
|
||||
classes.dex: .gradle.deps
|
||||
|
|
|
@ -38,5 +38,13 @@
|
|||
"unpack": true,
|
||||
"digest": "ef1d0038da879cc6840fced87671f8f6a18c51375498804f64d21fa48d7089ded4da2be36bd06a1457083e9110e59c0884f1e074dc609d29617c131caea8f234",
|
||||
"size": 50542140
|
||||
},
|
||||
{
|
||||
"algorithm": "sha512",
|
||||
"visibility": "public",
|
||||
"filename": "dotgradle.tar.xz",
|
||||
"unpack": true,
|
||||
"digest": "9f082ccd71ad18991eb71fcad355c6990f50a72a09ab9b79696521485656083a72faf5a8d4714de9c4b901ee2319b6786a51964846bb7075061642a8505501c2",
|
||||
"size": 512
|
||||
}
|
||||
]
|
||||
|
|
|
@ -39,6 +39,7 @@ task:
|
|||
MH_CUSTOM_BUILD_VARIANT_CFG: api-15-frontend
|
||||
MH_BRANCH: {{project}}
|
||||
MH_BUILD_POOL: taskcluster
|
||||
GRADLE_USER_HOME: '/home/worker/workspace/build/src/dotgradle'
|
||||
|
||||
maxRunTime: 36000
|
||||
|
||||
|
@ -51,7 +52,11 @@ task:
|
|||
treeherder:
|
||||
machine:
|
||||
# see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
|
||||
platform: android-4-0-armv7-api15-frontend
|
||||
platform: android-4-0-armv7-api15
|
||||
groupSymbol: tc
|
||||
groupName: Submitted by taskcluster
|
||||
symbol: Unit
|
||||
tier: 2
|
||||
# Rather then enforcing particular conventions we require that all build
|
||||
# tasks provide the "build" extra field to specify where the build and tests
|
||||
# files are located.
|
||||
|
|
Загрузка…
Ссылка в новой задаче