From 29267f40949746d54c75ef9c7386bd72cc19a4f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chavant?= Date: Mon, 9 Oct 2017 15:47:20 +0200 Subject: [PATCH] do not call error in fail() --- Jenkinsfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 96afc9c90..36445514e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,6 @@ def fail(reason) { message: "Build #${env.BUILD_NUMBER} of <${env.BUILD_URL}|${env.JOB_NAME}>${pr_branch} failed (<${env.BUILD_URL}/console|console>, <${env.BUILD_URL}/changes|changes>)\nCause: ${reason}" channel: '#lisk-nano-jenkins' currentBuild.result = 'FAILURE' - error("${reason}") } node('lisk-nano') {