Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
27a4c035
Commit
27a4c035
authored
Sep 25, 2018
by
Shinya Maeda
Committed by
Alessio Caiazza
Oct 02, 2018
Browse files
Options
Browse Files
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!
...
...
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
...
...
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