script to run in cron and build pull requests in jenkins