4 export PATH=$PATH:/usr/local/bin/
6 # If no violations were found, no lint log will exist.
7 if [[ -e securityaudit.log ]] ; then
8 echo -e "\nposting security audit report to gerrit...\n"
10 cat securityaudit.log | awk -F"ERROR\ \-\ " '{print $2}' > shortlog
12 ssh -p 29418 gerrit.opnfv.org \
13 "gerrit review -p $GERRIT_PROJECT \
14 -m \"$(cat shortlog)\" \
15 $GERRIT_PATCHSET_REVISION \