[jenkins][ci skip]use github access token to retrive commits
refine code
Merge pull request #7690 from heliclei/jenkins-job-trigger

use github access token to retrive commits