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'
|
library 'status-jenkins-lib@v1.3.4'
|
||||||
|
|
||||||
pipeline {
|
pipeline {
|
||||||
agent { label 'linux-01' }
|
agent { label 'linux' }
|
||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
booleanParam(
|
booleanParam(
|
||||||
|
@ -27,6 +27,14 @@ pipeline {
|
||||||
daysToKeepStr: '30',
|
daysToKeepStr: '30',
|
||||||
artifactNumToKeepStr: '3',
|
artifactNumToKeepStr: '3',
|
||||||
))
|
))
|
||||||
|
/* Throttle number of concurrent builds. */
|
||||||
|
throttleJobProperty(
|
||||||
|
throttleEnabled: true,
|
||||||
|
throttleOption: 'category',
|
||||||
|
categories: ['status-desktop-e2e-tests'],
|
||||||
|
maxConcurrentPerNode: 1,
|
||||||
|
maxConcurrentTotal: 1
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
environment {
|
environment {
|
||||||
|
|
Loading…
Reference in New Issue