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
40ddee5c7927
Commit
cb21d224
authored
Feb 02, 2018
by
Matija Čupić
Browse files
Build AutoDevops instead of using ProjectAutoDevops#new
parent
c1f86061d708
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/models/project.rb
View file @
40ddee5c
...
...
@@ -1609,7 +1609,7 @@ def deployment_variables
def
auto_devops_variables
return
[]
unless
auto_devops_enabled?
(
auto_devops
||
ProjectA
uto
D
evops
.
new
)
&
.
variables
(
auto_devops
||
build_a
uto
_d
evops
)
&
.
variables
end
def
append_or_update_attribute
(
name
,
value
)
...
...
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