This is an automated email from the ASF dual-hosted git repository. bneradt pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git
The following commit(s) were added to refs/heads/main by this push: new 7eafa29 lib/yamlcpp: avoid trailing whitespace check (#210) 7eafa29 is described below commit 7eafa295a101708a3051df7f91c37799653f09b4 Author: Brian Neradt <brian.ner...@gmail.com> AuthorDate: Fri Aug 18 13:42:02 2023 -0500 lib/yamlcpp: avoid trailing whitespace check (#210) lib/yamlcpp is a third party. Avoid whitespace checks for it. --- jenkins/github/clang-format.pipeline | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jenkins/github/clang-format.pipeline b/jenkins/github/clang-format.pipeline index b9be637..d3f5e60 100644 --- a/jenkins/github/clang-format.pipeline +++ b/jenkins/github/clang-format.pipeline @@ -43,7 +43,7 @@ pipeline { dir('src') { sh '''#!/bin/bash set -x - git grep -IE ' +$' | fgrep -v '.gold:' | fgrep -v '.test_input' + git grep -IE ' +$' | fgrep -v 'lib/yamlcpp' | fgrep -v '.gold:' | fgrep -v '.test_input' if [ "1" != "$?" ]; then echo "Error: Trailing whitespaces are not allowed!" echo "Error: Please run: git grep -IE ' +$'" @@ -73,15 +73,15 @@ pipeline { [ "0" != "$?" ] && exit 1 # Normal exit - exit 0 + exit 0 ''' } } } } - - post { - cleanup { + + post { + cleanup { cleanWs() } }