Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #5 from gforcada/patch-1

Split the xmllint calling errors from the analysed errors
  • Loading branch information...
commit 7ccfc48472cc884de1167fb5f194faca8ab8681e 2 parents 476397c + 39829fa
Timo Stollenwerk authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 jenkins-code-analysis.cfg
View
12 jenkins-code-analysis.cfg
@@ -251,13 +251,13 @@ input = inline:
for pkg in $PACKAGES
do
echo "Analyse $pkg"
- find -L $pkg -regex ".*\.[cz]?pt" | xargs xmllint --noout > ${buildout:jenkins-directory}/xmllint.log 2>&1
+ find -L $pkg -regex ".*\.[cz]?pt" | xargs xmllint --noout 2>> ${buildout:jenkins-directory}/xmllint.log >> ${buildout:jenkins-directory}/xmllint-errors.log
done
- if [ -s ${buildout:jenkins-directory}/xmllint.log ]; then
- echo "Errors were found:"
- cat ${buildout:jenkins-directory}/xmllint.log
- echo "Errors were written to xmllint.log"
- exit 1;
+ if [ -s ${buildout:jenkins-directory}/xmllint-errors.log ]; then
+ echo "Errors were found:"
+ cat ${buildout:jenkins-directory}/xmllint-errors.log
+ echo "Errors were written to xmllint-errors.log"
+ exit 1;
else
echo "No errors found"
fi
Please sign in to comment.
Something went wrong with that request. Please try again.