Jenkins: Disables concurrent builds.

Because ITs use the same port causing random failures on concurrent builds.
This commit is contained in:
Johannes Schnatterer 2018-01-09 16:20:24 +01:00
parent 3c5b37e451
commit 54d996f402

5
Jenkinsfile vendored
View file

@ -1,6 +1,11 @@
#!groovy #!groovy
node { node {
properties([
// Don't run concurrent builds, because the ITs use the same port causing random failures on concurrent builds.
disableConcurrentBuilds()
])
cesFqdn = findHostName() cesFqdn = findHostName()
cesUrl = "https://${cesFqdn}" cesUrl = "https://${cesFqdn}"
credentials = usernamePassword(credentialsId: 'scmCredentials', passwordVariable: 'PASSWORD', usernameVariable: 'USERNAME') credentials = usernamePassword(credentialsId: 'scmCredentials', passwordVariable: 'PASSWORD', usernameVariable: 'USERNAME')