Fix zuul log path again

In I97362b1cc6a8c19b54903e53638aba8cb4928e19 an extra '/' was removed
from most instances of BASE_LOG_PATH, except for ones generated for
changes in periodic pipelines.  Add the missing '/' in that case.

Change-Id: Ibd99b88651d5cc3a7627fd4843a9a24f9be68464
This commit is contained in:
James E. Blair 2015-03-10 11:55:24 -07:00
parent 94a3cb3501
commit 3f2bfb8a4d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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