commit | 02fe5ebaab9738e491e9ee9f5e6c75c2c30da2fb | [log] [tgz] |
---|---|---|
author | Alexander Evseev <aevseev@mirantis.com> | Thu Nov 15 13:58:36 2018 +0100 |
committer | Alexander Evseev <aevseev@mirantis.com> | Thu Nov 15 14:01:00 2018 +0100 |
tree | 5dd33c9a0e742114e6b4e4a58464bfc3f88f47cf | |
parent | b718f2e61c1b9912fef4d67f6a0ba770b6f16708 [diff] |
Refactor collecting YAML with params for child jobs Jenkins doesn't have shipped groovy/java modules to handle YAML, but JSON is a subset of YAML. So let's use standard JSON handling modules to serialize gerrit environment variables to JSON, and parse it as YAML. Change-Id: I79a9ba5dd8ec9559581cec3e294b1336ccee85dd See: https://mirantis.jira.com/browse/PROD-24467 See: https://en.wikipedia.org/wiki/YAML#Comparison_with_JSON