mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 05:55:51 +00:00
Jenkins: Disables concurrent builds.
Because ITs use the same port causing random failures on concurrent builds.
This commit is contained in:
parent
3c5b37e451
commit
54d996f402
1 changed files with 5 additions and 0 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue