You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2022/05/23 06:53:41 UTC

[cassandra-builds] branch trunk updated: In jenkins, throttle pipeline jobs (except one primary release branch pipeline)

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

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 33178a6  In jenkins, throttle pipeline jobs (except one primary release branch pipeline)
33178a6 is described below

commit 33178a6631f4de5c6c6773dfb9bcd8035d47b014
Author: Mick Semb Wever <mc...@apache.org>
AuthorDate: Sun May 22 14:58:39 2022 +0200

    In jenkins, throttle pipeline jobs (except one primary release branch pipeline)
    
     patch by Mick Semb Wever; reviewed by Brandon Williams
---
 jenkins-dsl/cassandra_job_dsl_seed.groovy | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index 9a83002..eb3a599 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -732,6 +732,12 @@ cassandraBranches.each {
             numToKeep(30)
             artifactNumToKeep(10)
         }
+        if (branchName != 'cassandra-4.1') {
+          // allow one pipeline branch to "have focus" and be unthrottled, all other branches queue
+          throttleConcurrentBuilds {
+              maxTotal(1)
+          }
+        }
         properties {
             githubProjectUrl(githubRepo)
             priorityJobProperty {
@@ -1288,6 +1294,10 @@ pipelineJob('Cassandra-devbranch') {
         numToKeep(90)
         artifactNumToKeep(10)
     }
+    throttleConcurrentBuilds {
+        maxPerNode(1)
+        maxTotal(2)
+    }
     parameters {
         stringParam('REPO', 'apache', 'The github user/org to clone cassandra repo from')
         stringParam('BRANCH', 'trunk', 'The branch of cassandra to checkout')


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org