Commit 42b2abbe authored by Grzegorz Bizon's avatar Grzegorz Bizon

Revert support for simplified pipeline expressions

parent a648209a
...@@ -19,7 +19,11 @@ module Gitlab ...@@ -19,7 +19,11 @@ module Gitlab
return if pipeline.nil? return if pipeline.nil?
@variables = pipeline.runtime_variables.map do |variable| @variables = pipeline.variables.map do |variable|
[variable.key, variable.value]
end
@variables += pipeline.predefined_variables.map do |variable|
[variable.fetch(:key), variable.fetch(:value)] [variable.fetch(:key), variable.fetch(:value)]
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment