#755: update logging for publishing BuildList
This commit is contained in:
parent
b62414ec1d
commit
8ef5129e00
|
@ -5,11 +5,9 @@ module AbfWorker
|
||||||
# - #build_canceled
|
# - #build_canceled
|
||||||
|
|
||||||
def abf_worker_log
|
def abf_worker_log
|
||||||
q = 'abfworker::'
|
l = Resque.redis.get "abfworker::#{worker_queue('-')}-#{id}"
|
||||||
q << worker_queue('-')
|
l ||= Resque.redis.get "abfworker::publish-build-list-container-worker-#{id}" if is_a?(BuildList) && build_publish?
|
||||||
q << '-'
|
l || I18n.t('layout.build_lists.log.not_available')
|
||||||
q << id.to_s
|
|
||||||
Resque.redis.get(q) || I18n.t('layout.build_lists.log.not_available')
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def add_job_to_abf_worker_queue
|
def add_job_to_abf_worker_queue
|
||||||
|
|
Loading…
Reference in New Issue