summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2018-02-22 20:29:59 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-22 20:29:59 +0000
commitb5f262af5efb6a4f2b004c9b9133e70b57aa1793 (patch)
tree59d1cf002ad4e67fb36ad99eadb9affc6102ca7c
parent750f68ac8c2a1e0d676847decfd3392707c372e8 (diff)
parentfb7b6ace9d8344ab22b92925b06f43f25ab9d3d8 (diff)
Merge "Jenkins not reporting lint results to gerrit"
-rw-r--r--jjb/global/releng-macros.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/jjb/global/releng-macros.yml b/jjb/global/releng-macros.yml
index 0bf981661..e58e1cfee 100644
--- a/jjb/global/releng-macros.yml
+++ b/jjb/global/releng-macros.yml
@@ -318,7 +318,9 @@
- shell: |
#!/bin/bash
if [[ -s violation.log ]]; then
- echo "Reporting lint result..."
+ cat violation.log
+ 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
cmd="gerrit review -p $GERRIT_PROJECT -m \"$(cat violation.log)\" $GERRIT_PATCHSET_REVISION --notify NONE"