From: Anil Belur Date: Mon, 20 Apr 2020 03:46:06 +0000 (+1000) Subject: Fix update cloud image list job to handle newlines X-Git-Tag: v0.53.1^2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=433ed7f919bda559a367a828df0fcfb1656d265e;hp=433ed7f919bda559a367a828df0fcfb1656d265e;p=releng%2Fglobal-jjb.git Fix update cloud image list job to handle newlines Fix update cloud image list job to handle newlines correctly and update an existing gerrit change request. A gerrit change submitted through git-review checks for an existing change-id on Gerrit and either updates the patchset or creates a new one. For this to work correctly the change-id should go into the commit footer and not in the GERRIT_COMMIT_MESSAGE. The embedded newlines are not processed correctly in the script and fails to separate the footer and the GERRIT_COMMIT_MESSAGE, instead it creates a new patches everytime rather than updating an existing one. The change is tested and now existing CR's are updated rather than pushing a new CR everytime. https://git.opendaylight.org/gerrit/c/releng/builder/+/89136 Issue: RELENG-2687 Change-Id: I8397d2d8a9402db07c99173c9f999152bc3c61ee Signed-off-by: Anil Belur ---