Change-Id: I64d5d82de154c7d7fb9ca44e76d8d2a67b3ec034
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
builders:
- - shell: |
- source /opt/virtualenv/jenkins-job-builder/bin/activate
- jenkins-jobs test jjb/
+ - shell:
+ !include-raw verify-releng
- job-template:
name: 'builder-merge'
--- /dev/null
+#!/bin/bash
+
+source /opt/virtualenv/jenkins-job-builder/bin/activate
+jenkins-jobs test jjb/
+
+
+#test for non-ascii characters, these can pass the test and end up breaking things in production
+for x in $(find . -name *\.yml); do
+
+ if LC_ALL=C grep -q '[^[:print:][:space:]]' "$x"; then
+ echo "file "$x" contains non-ascii characters"
+ exit 1
+ fi
+
+done
+
+echo "all .yml files are ASCII only"