Fix the log path returned from zuul

Logs are currently coming back from zuul with two slashes in them.
The paths already have a trailing slash so the final LOG_PATH doesn't
need to add it.

Change-Id: I97362b1cc6a8c19b54903e53638aba8cb4928e19
This commit is contained in:
Joshua Hesketh 2014-12-17 12:09:59 +11:00
parent 6fd8d7d01c
commit 4be7678616

View File

@ -27,8 +27,8 @@ def set_log_url(item, job, params):
else:
path = params['ZUUL_PIPELINE']
params['BASE_LOG_PATH'] = path
params['LOG_PATH'] = path + '/%s/%s/' % (job.name,
params['ZUUL_UUID'][:7])
params['LOG_PATH'] = path + '%s/%s/' % (job.name,
params['ZUUL_UUID'][:7])
def reusable_node(item, job, params):