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 dbf669e ninja-fix restore missing throttle and scm polling on 5.0 and
trunk pipelines (CASSANDRA-18665)
dbf669e is described below
commit dbf669e646e184097f5abe84287c9dad87a13e99
Author: Mick Semb Wever <[email protected]>
AuthorDate: Wed Nov 8 15:23:34 2023 +0100
ninja-fix restore missing throttle and scm polling on 5.0 and trunk
pipelines (CASSANDRA-18665)
---
jenkins-dsl/cassandra_job_dsl_seed.groovy | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy
b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index cb6dc7d..6d77d93 100755
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -917,6 +917,9 @@ cassandraBranchesInTreeScript.each {
numToKeep(30)
artifactNumToKeep(10)
}
+ throttleConcurrentBuilds {
+ maxTotal(1)
+ }
properties {
githubProjectUrl(mainRepo)
priority(1)
@@ -944,6 +947,9 @@ cassandraBranchesInTreeScript.each {
scriptPath('.jenkins/Jenkinsfile')
}
}
+ triggers {
+ scm('H/5 * * * *')
+ }
}
}
// end tmp
@@ -1317,12 +1323,8 @@ cassandraBranches.each {
numToKeep(30)
artifactNumToKeep(10)
}
- if (branchName != 'cassandra-5.0') {
- // allow one pipeline branch to "have focus" and be unthrottled, all
other branches queue
- throttleConcurrentBuilds {
- maxTotal(1)
- categories(['cassandra'])
- }
+ throttleConcurrentBuilds {
+ maxTotal(1)
}
properties {
githubProjectUrl(mainRepo)
@@ -1871,8 +1873,7 @@ pipelineJob('Cassandra-devbranch') {
artifactNumToKeep(10)
}
throttleConcurrentBuilds {
- maxPerNode(1)
- maxTotal(2)
+ maxTotal(1)
}
parameters {
stringParam('REPO', 'apache', 'The github user/org to clone cassandra
repo from')
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]