Keep the value type for YAML variables
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8088#note_20235080
This commit is contained in:
parent
f2afdc92b8
commit
3ea8d983ad
2 changed files with 1 additions and 2 deletions
|
@ -118,7 +118,7 @@ module Ci
|
|||
.merge(job_variables(name))
|
||||
|
||||
variables.map do |key, value|
|
||||
{ key: key.to_s, value: value.to_s, public: true }
|
||||
{ key: key.to_s, value: value, public: true }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@ module Gitlab
|
|||
|
||||
object.map do |variable|
|
||||
variable[:key] = variable[:key].to_s
|
||||
variable[:value] = variable[:value].to_s
|
||||
variable
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue