From 69226895d96595e1e3ed72c08fe1b2ba032e2b00 Mon Sep 17 00:00:00 2001 From: John Blum Date: Thu, 17 May 2018 21:38:59 -0700 Subject: [PATCH] Declare build a SUCCESS by default. Innocent unil proven guilty! --- Jenkinsfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 66f024e..cf1a0f2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,7 +7,7 @@ properties(projectProperties) def SUCCESS = hudson.model.Result.SUCCESS.toString() -currentBuild.result = 'UNKNOWN' +currentBuild.result = SUCCESS try { parallel check: { @@ -16,7 +16,6 @@ try { checkout scm try { sh "./gradlew clean check --refresh-dependencies --no-daemon" - currentBuild.result = SUCCESS } catch (Exception cause) { currentBuild.result = 'FAILED: check'