diff options
Diffstat (limited to 'app/services/packages/maven')
-rw-r--r-- | app/services/packages/maven/find_or_create_package_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/packages/maven/find_or_create_package_service.rb b/app/services/packages/maven/find_or_create_package_service.rb index c7ffd468864..b29adf4e11a 100644 --- a/app/services/packages/maven/find_or_create_package_service.rb +++ b/app/services/packages/maven/find_or_create_package_service.rb @@ -51,7 +51,7 @@ module Packages .execute end - package.build_infos.safe_find_or_create_by!(pipeline: params[:build].pipeline) if params[:build].present? + package.create_build_infos!(params[:build]) ServiceResponse.success(payload: { package: package }) end |