handle logfiles with possibly-duplicate names
This commit is contained in:
parent
fa5c7722cd
commit
7a6b44c4a9
1 changed files with 5 additions and 1 deletions
|
|
@ -8979,8 +8979,12 @@ class HostExports(object):
|
|||
|
||||
# move the logs to their final destination
|
||||
for relpath in results['logs']:
|
||||
subdir = 'win'
|
||||
reldir = os.path.dirname(relpath)
|
||||
if reldir:
|
||||
subdir = os.path.join(subdir, reldir)
|
||||
import_build_log(os.path.join(task_dir, relpath),
|
||||
build_info, subdir='win')
|
||||
build_info, subdir=subdir)
|
||||
|
||||
# update build state
|
||||
st_complete = koji.BUILD_STATES['COMPLETE']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue