We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
job
1 parent be115e4 commit c168e2eCopy full SHA for c168e2e
src/send_kcidb.py
@@ -413,13 +413,17 @@ def _run(self, context):
413
)
414
415
elif node['kind'] == 'test':
416
- if is_hierarchy:
417
- self._get_test_data_recursively(node, context['origin'],
418
- parsed_test_node, parsed_build_node)
+ self._get_test_data(node, context['origin'],
+ parsed_test_node, parsed_build_node)
419
420
- elif not self._api.node.count({'parent': node['id']}):
+ elif node['kind'] == 'job':
+ # Send only failed/incomplete job nodes
421
+ if node['result'] != 'pass':
422
self._get_test_data(node, context['origin'],
423
parsed_test_node, parsed_build_node)
424
+ if is_hierarchy:
425
+ self._get_test_data_recursively(node, context['origin'],
426
427
428
revision = {
429
'checkouts': parsed_checkout_node,
0 commit comments