It avoids false errors by jjb.
Change-Id: If446d191b54f5ca6773122630a333cfc997b0407
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
echo "Reporting lint result...."
set -x
msg="Found syntax error and/or coding style violation(s) in the files modified by your patchset."
- sed -i -e "1s#^#${msg}\n\n#" violation.log
+ sed -i -e "1s#^#$msg\n\n#" violation.log
cmd="gerrit review -p $GERRIT_PROJECT -m \"$(cat violation.log)\" $GERRIT_PATCHSET_REVISION --notify NONE"
ssh -o 'PubkeyAcceptedKeyTypes +ssh-rsa' -p 29418 fbot@gerrit.opnfv.org "$cmd"