Now makes sure that it checks on all warnings, not just files that could
be fixed automatically.
- echo "Revision used for branch point is $REV"
- git show -s $REV
- RUN_CLANG_TIDY=run-clang-tidy-$COMPILER_MAJOR_VERSION bash admin/clang-tidy.sh check --parallel=$KUBERNETES_CPU_LIMIT --warnings=clang-tidy.log --rev=$REV -B=$BUILD_DIR
- - grep -i "found code issues" clang-tidy.log | tee code-lint.txt || true
+ - grep -i "found code issues|warnings" clang-tidy.log | tee code-lint.txt || true
- if [ -s code-lint.txt ] ; then echo "clang-tidy.sh found issues"; exit 1; fi
artifacts:
when: on_failure