summaryrefslogtreecommitdiffstats
path: root/jjb/releng
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-09-25 12:47:16 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2017-09-25 12:47:16 -0700
commit941759da987a3d24d9eee704c83163c8931359b9 (patch)
tree1fbbc82d974b3d12d893e14d978adffd8aef78ca /jjb/releng
parent77b9e3e5787e39fd44a9dcfb73e128e02a32d4e6 (diff)
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 <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/releng')
-rwxr-xr-xjjb/releng/verify-releng.sh2
1 files changed, 1 insertions, 1 deletions
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"