Ansible launcher: set keep-hierarchy on log copying
We don't set keep-hierarchy in the log publisher because it only publishes one file. But we're tacking on the full ansible directory to that publisher. We want keep-hierarchy set so those files don't just end up in the root. Modify that in our job publisher transform. Change-Id: I188493168ff62f3711fe59fd93e8bd617864e391
This commit is contained in:
@@ -1026,6 +1026,7 @@ class NodeWorker(object):
|
||||
copy_console = False
|
||||
for scpfile in publisher['scp']['files']:
|
||||
if scpfile.get('copy-console'):
|
||||
scpfile['keep-hierarchy'] = True
|
||||
late_scpfiles.append(scpfile)
|
||||
copy_console = True
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user