From 1aef07a7704b96168d3fc14db7ab9be9c10cc958 Mon Sep 17 00:00:00 2001 From: Mason Packard Date: Wed, 14 Sep 2016 16:30:46 -0400 Subject: [PATCH] Help ensure cleanup on errors. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 176f449..9af2a40 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -79,7 +79,7 @@ def performBuild(String project){ } } -def handleError(String message, string project){ +def handleError(String message, String project){ echo "${message}" currentBuild.setResult("FAILED") slackSend color: 'danger', message: "${message}"