Commit 54bb24ee authored by Shinya Maeda's avatar Shinya Maeda Committed by Alessio Caiazza
Browse files

Rename to process build service

parent 6dcaacf9c26c
# frozen_string_literal: true
module Ci
class ProceedBuildService < BaseService
class ProcessBuildService < BaseService
def execute(build)
if build.schedulable?
build.schedule!
......
......@@ -37,7 +37,7 @@ def process_stage(index)
def process_build(build, current_status)
if valid_statuses_for_when(build.when).include?(current_status)
Ci::ProceedBuildService.new(project, @user).execute(build)
Ci::ProcessBuildService.new(project, @user).execute(build)
true
else
build.skip
......
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