PR#278 mock_output.log not included with logs when importing rpm builds
Merges #278 https://pagure.io/koji/pull-request/278 Fixes #207
This commit is contained in:
commit
9ccb66d199
1 changed files with 6 additions and 0 deletions
|
|
@ -1147,6 +1147,12 @@ class BuildArchTask(BaseBuildTask):
|
|||
rpm_files.append(f)
|
||||
else:
|
||||
unexpected.append(f)
|
||||
|
||||
if broot.workdir:
|
||||
mocklog = 'mock_output.log'
|
||||
f = os.path.join(broot.workdir, mocklog)
|
||||
if os.path.exists(f):
|
||||
log_files.append(os.path.basename(f))
|
||||
self.logger.debug("rpms: %r" % rpm_files)
|
||||
self.logger.debug("srpms: %r" % srpm_files)
|
||||
self.logger.debug("logs: %r" % log_files)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue