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

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


The following commit(s) were added to refs/heads/main by this push:
     new 2dc0c64b7ecd INFRA-27835 - Avoid concurrent builds of Camel on same 
nodes
2dc0c64b7ecd is described below

commit 2dc0c64b7ecd6d783fb81918e6b5f54e1c2f8cf2
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 4c4031b7c988..d3c2333a9079 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