Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
d5816c648401
Commit
54bb24ee
authored
Sep 25, 2018
by
Shinya Maeda
Committed by
Alessio Caiazza
Oct 02, 2018
Browse files
Rename to process build service
parent
6dcaacf9c26c
Changes
2
Show whitespace changes
Inline
Side-by-side
app/services/ci/proce
ed
_build_service.rb
→
app/services/ci/proce
ss
_build_service.rb
View file @
d5816c64
# frozen_string_literal: true
module
Ci
class
Proce
ed
BuildService
<
BaseService
class
Proce
ss
BuildService
<
BaseService
def
execute
(
build
)
if
build
.
schedulable?
build
.
schedule!
...
...
app/services/ci/process_pipeline_service.rb
View file @
d5816c64
...
...
@@ -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
::
Proce
ed
BuildService
.
new
(
project
,
@user
).
execute
(
build
)
Ci
::
Proce
ss
BuildService
.
new
(
project
,
@user
).
execute
(
build
)
true
else
build
.
skip
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment