commit | dc339858b95ab930650a68aca844633f7133f4e5 | [log] [tgz] |
---|---|---|
author | Alexander Evseev <aevseev@mirantis.com> | Thu Nov 15 09:42:36 2018 +0100 |
committer | Alexander Evseev <aevseev@mirantis.com> | Thu Nov 15 09:42:36 2018 +0100 |
tree | 25c455b634b56264f49cf0bfd8e992360d4b12b5 | |
parent | 355417db60376df60467c01f34065f22632b4549 [diff] |
Refactor collecting YAML containing gerrit params 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: Ic41d75c3e54af09db1f18a0e91d36e80391bd5a0 See: https://mirantis.jira.com/browse/PROD-24467 See: https://en.wikipedia.org/wiki/YAML#Comparison_with_JSON