update Rakefile and jenkins-build.sh for ci