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