X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=ensure-documented.sh;h=928abdb73c6897cc98cd74cc0e3550afb9b9ea23;hb=refs%2Fheads%2Fv0.45.x;hp=434e06c46ce9eb48af0af8e38654f07300daf72e;hpb=714b19a974ea9e989fe365f88f8e579fd7a7670b;p=releng%2Fglobal-jjb.git diff --git a/ensure-documented.sh b/ensure-documented.sh index 434e06c4..928abdb7 100755 --- a/ensure-documented.sh +++ b/ensure-documented.sh @@ -16,7 +16,6 @@ mapfile -t jjb_files < <(find jjb -name "*.yaml") undocumented_count=0 for file in "${jjb_files[@]}"; do mapfile -t docs_interests < <(grep -e '\- builder:' \ - -e '\- job-group:' \ -e '\- job-template:' \ -e '\- parameter:' \ -e '\- property:' \ @@ -26,7 +25,7 @@ for file in "${jjb_files[@]}"; do -e '\- wrapper:' \ -A1 "$file" \ | grep 'name: ' | awk -F': ' '{print $2}' | sort | uniq \ - | tr -d "'") + | tr -d "'" | tr -d '"') for item in "${docs_interests[@]}"; do if ! grep -q "$item" "docs/${file//.yaml/.rst}"; then