This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch camel-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.14.x by this push:
     new 796ebcaa6857 INFRA-27835 - Avoid concurrent builds of Camel on same 
nodes
796ebcaa6857 is described below

commit 796ebcaa68574b5bdc9f7588ab2ee62873b082de
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 d3acf6a4f41e..23529cef79fe 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -36,6 +36,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)

Reply via email to