You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/02/21 15:12:39 UTC
[kibble-scanners] branch master updated: queue size should reflect
multibuilds
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git
The following commit(s) were added to refs/heads/master by this push:
new ab09e40 queue size should reflect multibuilds
ab09e40 is described below
commit ab09e4000020c98cc006131cebe6d8fee79e78be
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Feb 21 16:12:31 2018 +0100
queue size should reflect multibuilds
some jobs have multiple builds, which all increase
the queue size (I'd think?). So let's multiply queue
size by number of concurrent jobs.
---
src/plugins/scanners/travis.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/plugins/scanners/travis.py b/src/plugins/scanners/travis.py
index d7addd5..e753933 100644
--- a/src/plugins/scanners/travis.py
+++ b/src/plugins/scanners/travis.py
@@ -238,7 +238,7 @@ def scan(KibbleBit, source):
if cb:
# Is the build currently running?
if cb['state'] == 'started':
- building += 1
+ building += len(cb.get('jobs', [1]))
# Queue up build jobs for the threaded scanner
bid = repo['id']
--
To stop receiving notification emails like this one, please contact
humbedooh@apache.org.