From 942144ee2e0ea1f176f3dda169e70ed02f590918 Mon Sep 17 00:00:00 2001 From: Tim Taubert Date: Sun, 7 Aug 2016 09:48:08 +0200 Subject: [PATCH] ignore tier-3 task failures --- src/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.js b/src/index.js index 9f1230b..d4ff8eb 100644 --- a/src/index.js +++ b/src/index.js @@ -88,6 +88,11 @@ tcc.onTaskFailed(async function (msg) { return; } + // Ignore tier-3 task failures. + if (parseInt(th.tier || 1, 10) == 3) { + return; + } + // Determine platform. let collection = Object.keys(th.collection || {})[0] || "opt"; let platform = PLATFORMS[th.build.platform] || th.build.platform;