From 54d996f4027ed62fb9f485c08b6046d9c60240fa Mon Sep 17 00:00:00 2001 From: Johannes Schnatterer Date: Tue, 9 Jan 2018 16:20:24 +0100 Subject: [PATCH] Jenkins: Disables concurrent builds. Because ITs use the same port causing random failures on concurrent builds. --- Jenkinsfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 5fd7f5728..f102d0f1f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,11 @@ #!groovy node { + properties([ + // Don't run concurrent builds, because the ITs use the same port causing random failures on concurrent builds. + disableConcurrentBuilds() + ]) + cesFqdn = findHostName() cesUrl = "https://${cesFqdn}" credentials = usernamePassword(credentialsId: 'scmCredentials', passwordVariable: 'PASSWORD', usernameVariable: 'USERNAME')