Throttle Concurrent Builds throttle
authorChristoph Berg <christoph.berg@credativ.de>
Tue, 9 Aug 2016 11:48:02 +0000 (13:48 +0200)
committerChristoph Berg <christoph.berg@credativ.de>
Tue, 9 Aug 2016 11:48:02 +0000 (13:48 +0200)
jenkins/README.jenkins
jenkins/pgapt-jobs.yaml

index 3d0eec876953893ae81cf1f8719f77ed5c4d0874..2edd8d19a3ba6afa48e164e0b072f6802304bffc 100644 (file)
@@ -11,4 +11,5 @@ IRC Plugin
 Parameterized Trigger Plugin
 Reverse Proxy Auth Plugin
 SCM Sync Plugin
+Throttle Concurrent Builds Plug-in
 Timestamper Plugin
index 201eb0a254056f98715c04e8da85953633413f4b..abc38cf9efd58e6a8a46a8262abe1a981c1e527d 100644 (file)
             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
                 combination-filter: '{dist-filter}'
                 touchstone:
                         expr: '(distribution=="sid") && (architecture=="amd64")'
+        properties:
+                - *throttle_by_category
         axes:
                 - axis: *arch_axis
                 - axis: *dist_axis
         axes:
                 - axis: *arch_axis
                 - axis: *dist_axis
+        properties:
+                - *throttle_by_category
         builders:
                 - shell: 'rm -rf *'
                 - copyartifact:
         axes:
                 - axis: *arch_axis
                 - axis: *dist_axis
+        properties:
+                - *throttle_by_category
         builders:
                 - shell: 'rm -rf *'
                 - copyartifact:
                                 - production
                                 - testing
 
+        properties:
+                - *throttle_by_category
         builders:
                 - shell: debcheck-pgapt
         publishers:
         axes:
                 - axis: *arch_axis
                 - axis: *dist_axis
+        properties:
+                - *throttle_by_category
         triggers:
                 - timed: "H */6 * * *"
         builders:
                         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'