This is an automated email from the ASF dual-hosted git repository.
apupier pushed a commit to branch camel-4.10.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.10.x by this push:
new 921f6ea23de5 INFRA-27835 - Avoid concurrent builds of Camel on same
nodes
921f6ea23de5 is described below
commit 921f6ea23de56ec5b84beb1b5435ed57e59cf660
Author: Aurélien Pupier <[email protected]>
AuthorDate: Mon Dec 8 10:43:34 2025 +0100
INFRA-27835 - Avoid concurrent builds of Camel on same nodes
Before this commit, we ensured a single build at a time for the exact
same job but we do not between main branch and maintenance branch.
So using a Throttle category configured to allow concurrent build on
different node but not on same node
Note that this configuration must be provided to maintenance branch to
to have effect
Signed-off-by: Aurélien Pupier <[email protected]>
---
Jenkinsfile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Jenkinsfile b/Jenkinsfile
index f7a8cf8fc7ba..a085d2584e7d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -35,6 +35,11 @@ pipeline {
logRotator(artifactNumToKeepStr: '5', numToKeepStr: '10')
)
disableConcurrentBuilds()
+ throttleJobProperty(
+ categories: ['camel'],
+ throttleEnabled: true,
+ throttleOption: 'category'
+ )
// This is required if you want to clean before build
skipDefaultCheckout(true)