Commit d86bed76 authored by Shinya Maeda's avatar Shinya Maeda

Rename build to job in ArchiveTraceWorker

parent 8e25ec3a
......@@ -6,7 +6,7 @@ class ArchiveTraceWorker
def perform(job_id)
Ci::Build.find_by(id: job_id).try do |job|
job.trace.archive! unless build.job_artifacts_trace
job.trace.archive! unless job.job_artifacts_trace
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment