Commit 96cd4228 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Rename pipeline service that creates stages and jobs

parent 1f1f5707
......@@ -49,7 +49,7 @@ module Ci
Ci::Pipeline.transaction do
update_merge_requests_head_pipeline if pipeline.save
Ci::CreatePipelineBuildsService
Ci::CreatePipelineStagesService
.new(project, current_user)
.execute(pipeline)
end
......
module Ci
class CreatePipelineBuildsService < BaseService
class CreatePipelineStagesService < BaseService
attr_reader :pipeline
def execute(pipeline)
......
Markdown is supported
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