From cd06b5b94399e9c978f2bcf0150b527403179217 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 17 Aug 2022 14:17:35 -0400 Subject: [PATCH] ci(e2e-tests): only allow one CI job at a time for tests --- ci/Jenkinsfile.uitests | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ci/Jenkinsfile.uitests b/ci/Jenkinsfile.uitests index 2bd4598a11..314261923c 100644 --- a/ci/Jenkinsfile.uitests +++ b/ci/Jenkinsfile.uitests @@ -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 {