Class: Ci::DailyBuildGroupReportResultService

Inherits:
Object
  • Object
show all
Defined in:
app/services/ci/daily_build_group_report_result_service.rb

Instance Method Summary collapse

Instance Method Details

#execute(pipeline) ⇒ Object


5
6
7
8
9
# File 'app/services/ci/daily_build_group_report_result_service.rb', line 5

def execute(pipeline)
  return unless Feature.enabled?(:ci_daily_code_coverage, pipeline.project, default_enabled: true)

  DailyBuildGroupReportResult.upsert_reports(coverage_reports(pipeline))
end