]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
filter files in PR to be only files ending in .sh$ 710/head
authorGregory Meno <gmeno@redhat.com>
Wed, 10 May 2017 21:03:53 +0000 (14:03 -0700)
committerGregory Meno <gmeno@redhat.com>
Wed, 10 May 2017 21:03:53 +0000 (14:03 -0700)
Signed-off-by: Gregory Meno <gmeno@redhat.com>
ceph-docker-lint/build/build

index e168ec3934f72f69a0f3262a9023869f5e84f67c..41d7621e05ca83c46dee79da775777059f0c8c32 100755 (executable)
@@ -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
 
 }