summaryrefslogtreecommitdiff
path: root/app/services/ci/job_artifacts/create_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/ci/job_artifacts/create_service.rb')
-rw-r--r--app/services/ci/job_artifacts/create_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/ci/job_artifacts/create_service.rb b/app/services/ci/job_artifacts/create_service.rb
index f7e04c59463..1647e921092 100644
--- a/app/services/ci/job_artifacts/create_service.rb
+++ b/app/services/ci/job_artifacts/create_service.rb
@@ -26,7 +26,8 @@ module Ci
headers = JobArtifactUploader.workhorse_authorize(
has_length: false,
maximum_size: max_size(artifact_type),
- use_final_store_path: Feature.enabled?(:ci_artifacts_upload_to_final_location, project)
+ use_final_store_path: Feature.enabled?(:ci_artifacts_upload_to_final_location, project),
+ final_store_path_root_id: project.id
)
if lsif?(artifact_type)