ci(e2e-tests): only allow one CI job at a time for tests

This commit is contained in:
Jonathan Rainville 2022-08-17 14:17:35 -04:00
parent 016e3927f2
commit cd06b5b943
1 changed files with 9 additions and 1 deletions

View File

@ -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 {