Add access_token only on pro for log url
This commit is contained in:
parent
9759735249
commit
86a02ad1da
|
@ -273,7 +273,7 @@ Travis.reopen
|
||||||
url = Travis.Urls.plainTextLog(id)
|
url = Travis.Urls.plainTextLog(id)
|
||||||
if Travis.config.pro
|
if Travis.config.pro
|
||||||
token = @get('job.log.token') || @get('build.jobs.firstObject.log.token')
|
token = @get('job.log.token') || @get('build.jobs.firstObject.log.token')
|
||||||
url += "&access_token=#{token}"
|
url += "&access_token=#{token}"
|
||||||
url
|
url
|
||||||
).property('jobIdForLog', 'job.log.token', 'build.jobs.firstObject.log.token')
|
).property('jobIdForLog', 'job.log.token', 'build.jobs.firstObject.log.token')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user