From: Gregory Meno Date: Wed, 10 May 2017 21:03:53 +0000 (-0700) Subject: filter files in PR to be only files ending in .sh$ X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F710%2Fhead;p=ceph-build.git filter files in PR to be only files ending in .sh$ Signed-off-by: Gregory Meno --- diff --git a/ceph-docker-lint/build/build b/ceph-docker-lint/build/build index e168ec39..41d7621e 100755 --- a/ceph-docker-lint/build/build +++ b/ceph-docker-lint/build/build @@ -13,7 +13,8 @@ function generate_filelist(){ else curl -XGET "https://api.github.com/repos/ceph/ceph-docker/pulls/$pull_request_id/files" | jq '.[].filename' | # just the files please - tr -d '"' # remove the quoting from JSON + tr -d '"' | # remove the quoting from JSON + grep ".sh$" # just the bash fi }