Strip leading / from afs targets
It seems that Jenkins does this. At least with FTP. We don't have any leading / on AFS targets, but do the same there for symmetry. Change-Id: Icb7451c0f3f5fa62c8a15fc621fd30f2df166c96 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
5b9b2bdf02
commit
fd97be44d9
|
@ -1131,7 +1131,7 @@ class NodeWorker(object):
|
|||
task.update(self.retry_args)
|
||||
tasks.append(task)
|
||||
|
||||
afstarget = afs['target']
|
||||
afstarget = afs['target'].lstrip('/')
|
||||
afstarget = self._substituteVariables(afstarget, parameters)
|
||||
afstarget = os.path.join(site['root'], afstarget)
|
||||
afstarget = os.path.normpath(afstarget)
|
||||
|
|
Loading…
Reference in New Issue