summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/services/ci/create_trace_artifact_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/ci/create_trace_artifact_service.rb b/app/services/ci/create_trace_artifact_service.rb
index 3a6d0f6f8e5..dae741a371c 100644
--- a/app/services/ci/create_trace_artifact_service.rb
+++ b/app/services/ci/create_trace_artifact_service.rb
@@ -7,7 +7,7 @@ module Ci
break unless stream.file?
temp_file!(JobArtifactUploader.workhorse_upload_path) do |temp_path|
- FileUtils.cp(stream.path, temp_path)
+ FileUtils.copy(stream.path, temp_path)
create_job_trace!(job, temp_path)
FileUtils.rm(stream.path)
end