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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
96cd4228
Commit
96cd4228
authored
May 30, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename pipeline service that creates stages and jobs
parent
1f1f5707
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/services/ci/create_pipeline_service.rb
app/services/ci/create_pipeline_service.rb
+1
-1
app/services/ci/create_pipeline_stages_service.rb
app/services/ci/create_pipeline_stages_service.rb
+1
-1
No files found.
app/services/ci/create_pipeline_service.rb
View file @
96cd4228
...
@@ -49,7 +49,7 @@ module Ci
...
@@ -49,7 +49,7 @@ module Ci
Ci
::
Pipeline
.
transaction
do
Ci
::
Pipeline
.
transaction
do
update_merge_requests_head_pipeline
if
pipeline
.
save
update_merge_requests_head_pipeline
if
pipeline
.
save
Ci
::
CreatePipeline
Build
sService
Ci
::
CreatePipeline
Stage
sService
.
new
(
project
,
current_user
)
.
new
(
project
,
current_user
)
.
execute
(
pipeline
)
.
execute
(
pipeline
)
end
end
...
...
app/services/ci/create_pipeline_
build
s_service.rb
→
app/services/ci/create_pipeline_
stage
s_service.rb
View file @
96cd4228
module
Ci
module
Ci
class
CreatePipeline
Build
sService
<
BaseService
class
CreatePipeline
Stage
sService
<
BaseService
attr_reader
:pipeline
attr_reader
:pipeline
def
execute
(
pipeline
)
def
execute
(
pipeline
)
...
...
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