From f556a6b2f96902e42a5663309c09e85158792e32 Mon Sep 17 00:00:00 2001
From: Peter van 't Hof
Date: Thu, 19 Jan 2017 15:13:36 +0100
Subject: [PATCH] Fixed typo
---
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index b112a2d03..f356d30df 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -31,7 +31,7 @@ node('local') {
}
} catch (e) {
- if(currentBuild.result = null || "FAILED".equals(currentBuild.result)) {
+ if(currentBuild.result == null || "FAILED".equals(currentBuild.result)) {
currentBuild.result = "FAILED"
}
slackSend (color: '#FF0000', message: "${currentBuild.result}: Job '${env.JOB_NAME} #${env.BUILD_NUMBER}' (<${env.BUILD_URL}|Open>)", channel: '#biopet-bot', teamDomain: 'lumc', tokenCredentialId: 'lumc')
--
GitLab