As per PR: https://github.com/ceph/ceph-docker/pull/632 the directory
NOT_MAINTAINED_ANYMORE does not exist anymore.
Signed-off-by: Sébastien Han <seb@redhat.com>
function generate_filelist(){
if [[ "$pull_request_id" -eq "" || "${ghprbCommentBody:-}" = "jenkins lint all" ]]
then
- find . -name '*.sh'| grep -v "NOT_MAINTAINED_ANYMORE"
+ find . -name '*.sh'
else
curl -XGET "https://api.github.com/repos/ceph/ceph-docker/pulls/$pull_request_id/files" |
jq '.[].filename' | # just the files please