summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Berg2016-08-09 11:48:02 +0000
committerChristoph Berg2016-08-09 11:48:02 +0000
commitc7b66d5a69d4e94aa951a48aaf3ff055d13ceacb (patch)
treea3ab8b467933399509e530e2325c8c693665214d
parent2e3e10f639f2d641c49884cb4df2eb3c7bf96254 (diff)
Throttle Concurrent Buildsthrottle
-rw-r--r--jenkins/README.jenkins1
-rw-r--r--jenkins/pgapt-jobs.yaml20
2 files changed, 21 insertions, 0 deletions
diff --git a/jenkins/README.jenkins b/jenkins/README.jenkins
index 3d0eec8..2edd8d1 100644
--- a/jenkins/README.jenkins
+++ b/jenkins/README.jenkins
@@ -11,4 +11,5 @@ IRC Plugin
Parameterized Trigger Plugin
Reverse Proxy Auth Plugin
SCM Sync Plugin
+Throttle Concurrent Builds Plug-in
Timestamper Plugin
diff --git a/jenkins/pgapt-jobs.yaml b/jenkins/pgapt-jobs.yaml
index 201eb0a..abc38cf 100644
--- a/jenkins/pgapt-jobs.yaml
+++ b/jenkins/pgapt-jobs.yaml
@@ -69,6 +69,14 @@
name: distribution
values: [sid]
+ throttle_by_category: &throttle_by_category
+ throttle:
+ option: category
+ categories:
+ - build-jobs
+ matrix-builds: false
+ matrix-configs: true
+
ircbot_only_configs: &only_configs
strategy: any-failure
message-type: summary
@@ -257,6 +265,8 @@
combination-filter: '{dist-filter}'
touchstone:
expr: '(distribution=="sid") && (architecture=="amd64")'
+ properties:
+ - *throttle_by_category
axes:
- axis: *arch_axis
- axis: *dist_axis
@@ -423,6 +433,8 @@
axes:
- axis: *arch_axis
- axis: *dist_axis
+ properties:
+ - *throttle_by_category
builders:
- shell: 'rm -rf *'
- copyartifact:
@@ -480,6 +492,8 @@
axes:
- axis: *arch_axis
- axis: *dist_axis
+ properties:
+ - *throttle_by_category
builders:
- shell: 'rm -rf *'
- copyartifact:
@@ -616,6 +630,8 @@
- production
- testing
+ properties:
+ - *throttle_by_category
builders:
- shell: debcheck-pgapt
publishers:
@@ -643,6 +659,8 @@
axes:
- axis: *arch_axis
- axis: *dist_axis
+ properties:
+ - *throttle_by_category
triggers:
- timed: "H */6 * * *"
builders:
@@ -740,6 +758,8 @@
type: user-defined
name: distribution
values: [wheezy]
+ properties:
+ - *throttle_by_category
builders:
- shell: 'sudo cowbuilder --execute $(which upgrade-plperl) --basepath /home/pbuilder/base-$distribution-$architecture.cow'