[SCM] ci-tooling packaging branch, master, updated. 6ced28a5414021e3b105b7593361b069a9f9664a

Harald Sitter apachelogger-guest at moszumanska.debian.org
Tue Feb 24 13:54:02 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=6ced28a

The following commit has been merged in the master branch:
commit 6ced28a5414021e3b105b7593361b069a9f9664a
Author: Harald Sitter <sitter at kde.org>
Date:   Tue Feb 24 14:53:59 2015 +0100

    re-enable jenkins polling
---
 kci/daily-qa.rb | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/kci/daily-qa.rb b/kci/daily-qa.rb
index 2f2f26d..2d8ca28 100755
--- a/kci/daily-qa.rb
+++ b/kci/daily-qa.rb
@@ -31,26 +31,26 @@ end
 # This allows $threadcount concurrent connections which is heaps
 # faster than doing this sequentially. In particular when run
 # outside localhost.
-# threads = []
-# 16.times do
-#     threads << Thread.new do
-#         jenkins = new_jenkins
-#         while name = job_name_queue.pop(true) do
-#             begin
-#                 if jenkins.job.status(name) != 'success' \
-#                         or jenkins.job.status(name) != 'unstable' \
-#                         or jenkins.queue.list.include?(name)
-#                     $logger.error "#{name} does not qualify for snapshot. Aborting."
-#                     exit 1
-#                 end
-#             rescue
-#                 retry
-#             end
-#         end
-#     end
-# end
+threads = []
+16.times do
+    threads << Thread.new do
+        jenkins = new_jenkins
+        while name = job_name_queue.pop(true) do
+            begin
+                if jenkins.job.status(name) != 'success' \
+                        or jenkins.job.status(name) != 'unstable' \
+                        or jenkins.queue.list.include?(name)
+                    $logger.error "#{name} does not qualify for snapshot. Aborting."
+                    exit 1
+                end
+            rescue
+                retry
+            end
+        end
+    end
+end
 
-# ThreadsWait.all_waits(threads)
+ThreadsWait.all_waits(threads)
 
 $logger.info "All Jenkins jobs seem jolly alright"
 

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list