From c6ea23838e2ad36215aba6ea45221bf3163976cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Claus=20R=C3=B8rbech?= Date: Wed, 15 Nov 2023 14:12:47 +0100 Subject: [PATCH] Fail build if metric collection fails on CI --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f92001139b..e39f7d87b0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,7 +85,7 @@ pipeline { ANDROID_NDK_HOME="${NDK_HOME}" REALM_DISABLE_ANALYTICS=true REALM_PRINT_ANALYTICS=true - REALM_FAIL_ON_ANALYTICS_ERRORS=false + REALM_FAIL_ON_ANALYTICS_ERRORS=true JAVA_8='/Library/Java/JavaVirtualMachines/jdk1.8.0_301.jdk/Contents/Home' JAVA_11='/Library/Java/JavaVirtualMachines/jdk-11.0.12.jdk/Contents/Home' JAVA_17='/Library/Java/JavaVirtualMachines/jdk-17.0.2.jdk/Contents/Home'