From 941759da987a3d24d9eee704c83163c8931359b9 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Mon, 25 Sep 2017 12:47:16 -0700 Subject: Only Allow ASCII Characters in JJB Scripts Since Jenkins job builder doesn't support unicode yet, any non-ascii character will break the releng-merge-jjb job. Change-Id: Idc50c258c9c00c8d594717364907e701d9fee385 Signed-off-by: Trevor Bramwell --- jjb/releng/verify-releng.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/releng') diff --git a/jjb/releng/verify-releng.sh b/jjb/releng/verify-releng.sh index 682a8beda..a6eaa0f50 100755 --- a/jjb/releng/verify-releng.sh +++ b/jjb/releng/verify-releng.sh @@ -8,7 +8,7 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## #test for non-ascii characters, these can pass the test and end up breaking things in production -for x in $(find . -name *\.yml -or -name *\.yaml); do +for x in $(find . -name *\.yml -or -name *\.yaml -or -name *\.sh); do if LC_ALL=C grep -q '[^[:print:][:space:]]' "$x"; then echo "file "$x" contains non-ascii characters" -- cgit 1.2.3-korg