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:
Lin Jen-Shin 2016-12-19 21:15:47 +08:00
parent f2afdc92b8
commit 3ea8d983ad
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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