summaryrefslogtreecommitdiffstats
path: root/jjb/releng/verify-releng.sh
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2016-11-09 12:33:46 -0800
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2016-11-29 16:03:08 -0800
commit754eee3e1294c1381ecc802b1217895bcfab360f (patch)
tree6a77f910856c93cd29b172f8f4e22af81948ef2d /jjb/releng/verify-releng.sh
parent58e754eb9afa05c9bb6c90da1f1a6882b3e866cd (diff)
Rearrange Releng Job and Parameter Files
Individual project jobs can now be tested using: jenkins-jobs test -r jjb/global:jjb/$project - Rename '.yaml' files to '.yml' so they get checked by the verify-releng.sh script, and update the script to include checking of '.yaml' files. - Move parameter and macro files under new 'global' directory. Change-Id: I6b74f5d8af2bced3256a7f4a33983df5310511a2 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'jjb/releng/verify-releng.sh')
-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 5c2dbff7a..682a8beda 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); do
+for x in $(find . -name *\.yml -or -name *\.yaml); do
if LC_ALL=C grep -q '[^[:print:][:space:]]' "$x"; then
echo "file "$x" contains non-ascii characters"