ci(e2e-tests): only allow one CI job at a time for tests
This commit is contained in:
parent
016e3927f2
commit
cd06b5b943
|
@ -1,7 +1,7 @@
|
|||
library 'status-jenkins-lib@v1.3.4'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux-01' }
|
||||
agent { label 'linux' }
|
||||
|
||||
parameters {
|
||||
booleanParam(
|
||||
|
@ -27,6 +27,14 @@ pipeline {
|
|||
daysToKeepStr: '30',
|
||||
artifactNumToKeepStr: '3',
|
||||
))
|
||||
/* Throttle number of concurrent builds. */
|
||||
throttleJobProperty(
|
||||
throttleEnabled: true,
|
||||
throttleOption: 'category',
|
||||
categories: ['status-desktop-e2e-tests'],
|
||||
maxConcurrentPerNode: 1,
|
||||
maxConcurrentTotal: 1
|
||||
)
|
||||
}
|
||||
|
||||
environment {
|
||||
|
|
Loading…
Reference in New Issue