Commit 8a7c89ad authored by Grzegorz Bizon's avatar Grzegorz Bizon

Use pipeline runtime variables in expressions

parent 6eeb837f
......@@ -19,8 +19,8 @@ module Gitlab
return if pipeline.nil?
@variables = pipeline.variables.map do |variable|
[variable.key, variable.value]
@variables = pipeline.runtime_variables.map do |variable|
[variable.fetch(:key), variable.fetch(:value)]
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