Merge "Add support to the subunit workers to reuse zuul uuids"

This commit is contained in:
Jenkins 2015-01-25 14:17:03 +00:00 committed by Gerrit Code Review
commit 7bfa3c8c37

@ -181,6 +181,9 @@ class Subunit2SQLProcessor(object):
if log_url:
log_dir = os.path.dirname(os.path.dirname(log_url))
shell.CONF.set_override('artifacts', log_dir)
run_id = subunit.get('build_uuid', None)
if run_id:
shell.CONF.set_override('run_id', run_id)
shell.CONF.set_override('run_meta', subunit)
# Parse subunit stream and store in DB
logging.debug('Converting Subunit V2 stream to SQL')