update jenkins.sh to use ls-files instead of ls-tree