Sha256: c22fa9a7696d431415eff28c0767b32771c15768d8e46da4757beba934f83a27
Contents?: true
Size: 469 Bytes
Versions: 6
Compression:
Stored size: 469 Bytes
Contents
module Evrone module CI module Worker LogJob = Struct.new(:app) do include Helper::Logger def call(env) matrix_key = env.job.message.matrix_keys.join(" ") logger.tagged("JOB #{env.job.message.id}.#{env.job.message.job_id} #{matrix_key}") do logger.info "starting job" rs = app.call env logger.info "done job" rs end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems