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 a4037394f5ab INFRA-27835 - Avoid concurrent builds of Camel on same 
nodes
a4037394f5ab is described below

commit a4037394f5ab853b47774a46d4dc62fcc71e763a
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Mon Dec 8 17:03:44 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.
    
    The configuration must be provided also on the stage part
    
https://plugins.jenkins.io/throttle-concurrents/#plugin-content-example-4-throttling-of-declarative-stages
    
    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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index a085d2584e7d..9ce9df6cfdfd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -57,6 +57,9 @@ pipeline {
                 agent {
                     label "${PLATFORM}"
                 }
+                options {
+                    throttle(['camel'])
+                }
                 when { anyOf {
                     expression { params.PLATFORM_FILTER == 'all' }
                     expression { params.PLATFORM_FILTER == env.PLATFORM }

Reply via email to