Import xml with Feeds from a folder outside site directory
yes you were right the correct way is to add in file system configuration (/admin/config/media/file-system) a private file system path that you need "/var/lib/jenkins", and then use it in your feed fetcher with prefix private://.

Please if it is possible move yor files form /var/lib to a user subfolder to avoid security problems.