add missing cache bust on log file

This commit is contained in:
Brian Gough 2016-07-20 09:54:19 +01:00
parent 13d6448ab8
commit 4e252976c7

View file

@ -194,6 +194,9 @@ define [
opts.url = "/project/#{$scope.project_id}/build/#{file.build}/output/#{name}"
else
opts.url = "/project/#{$scope.project_id}/output/#{name}"
# check if we need to bust cache (build id is unique so don't need it in that case)
if not file?.build?
opts.params.cache_bust = "#{Date.now()}"
return $http(opts)
# accumulate the log entries