Commit 3297cfb2 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

GB catches: CreateTraceArtifactService project, user pass

parent ca5b18c2cde3
......@@ -3,8 +3,8 @@ class CreateTraceArtifactWorker
include PipelineQueue
def perform(job_id)
Ci::Build.find_by(id: job_id).try do |job|, nil).execute(job)
Ci::Build.preload(:project, :user).find_by(id: job_id).try do |job|, job.user).execute(job)
Supports Markdown
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