2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2016 Linux Foundation and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10 #test for non-ascii characters, these can pass the test and end up breaking things in production
11 for x in $(find . -name *\.yml); do
13 if LC_ALL=C grep -q '[^[:print:][:space:]]' "$x"; then
14 echo "file "$x" contains non-ascii characters"
20 source /opt/virtualenv/jenkins-job-builder/bin/activate
21 jenkins-jobs test -o job_output -r jjb/