Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
8b0e856d8878
Commit
85f7824b
authored
Oct 26, 2016
by
Stan Hu
Browse files
Remove puts to solve Rubocop errors
parent
20d09502162f
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/services/ci/process_pipeline_service.rb
View file @
8b0e856d
...
...
@@ -41,11 +41,9 @@ def process_stage(index)
def
process_build
(
build
,
current_status
)
if
valid_statuses_for_when
(
build
.
when
).
include?
(
current_status
)
r
=
build
.
enqueue
puts
"process_build:
#{
build
.
id
}
: enqueue:
#{
build
.
status
}
=>
#{
r
}
"
true
else
r
=
build
.
skip
puts
"process_build:
#{
build
.
id
}
: skip:
#{
build
.
status
}
=>
#{
r
}
"
false
end
end
...
...
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