Merge "Fix jjb-verify job to ignore the docs directory"
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 16 Oct 2017 16:57:24 +0000 (16:57 +0000)
committerGerrit Code Review <gerrit@linuxfoundation.org>
Mon, 16 Oct 2017 16:57:24 +0000 (16:57 +0000)
.jjb-test/expected-xml/gerrit-ciman-jjb-verify
.jjb-test/expected-xml/github-ciman-jjb-verify
shell/jjb-check-unicode.sh

index b59d3c6..2a9896f 100644 (file)
@@ -303,7 +303,7 @@ popd
 ##############################################################################
 echo &quot;---&gt; jjb-check-unicode.sh&quot;
 
-if LC_ALL=C grep -r '[^[:print:][:space:]]' jjb/; then
+if LC_ALL=C grep --exclude=docs/ -r '[^[:print:][:space:]]' jjb/; then
     echo &quot;Found files containing non-ascii characters.&quot;
     exit 1
 fi
index 3a10bb8..5705ebc 100644 (file)
@@ -251,7 +251,7 @@ popd
 ##############################################################################
 echo &quot;---&gt; jjb-check-unicode.sh&quot;
 
-if LC_ALL=C grep -r '[^[:print:][:space:]]' jjb/; then
+if LC_ALL=C grep --exclude=docs/ -r '[^[:print:][:space:]]' jjb/; then
     echo &quot;Found files containing non-ascii characters.&quot;
     exit 1
 fi
index c1293ba..e1d28a0 100644 (file)
@@ -10,7 +10,7 @@
 ##############################################################################
 echo "---> jjb-check-unicode.sh"
 
-if LC_ALL=C grep -r '[^[:print:][:space:]]' jjb/; then
+if LC_ALL=C grep --exclude=docs/ -r '[^[:print:][:space:]]' jjb/; then
     echo "Found files containing non-ascii characters."
     exit 1
 fi