Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gpt
large_projects
gitlabhq1
Commits
27a4c035
Commit
27a4c035
authored
6 years ago
by
Shinya Maeda
Committed by
Alessio Caiazza
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Rename to process build service
parent
2f03c503
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/services/ci/process_build_service.rb
app/services/ci/process_build_service.rb
+1
-1
app/services/ci/process_pipeline_service.rb
app/services/ci/process_pipeline_service.rb
+1
-1
No files found.
app/services/ci/proce
ed
_build_service.rb
→
app/services/ci/proce
ss
_build_service.rb
View file @
27a4c035
# frozen_string_literal: true
module
Ci
class
Proce
ed
BuildService
<
BaseService
class
Proce
ss
BuildService
<
BaseService
def
execute
(
build
)
if
build
.
schedulable?
build
.
schedule!
...
...
This diff is collapsed.
Click to expand it.
app/services/ci/process_pipeline_service.rb
View file @
27a4c035
...
...
@@ -37,7 +37,7 @@ module Ci
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
...
...
This diff is collapsed.
Click to expand it.
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