Is it possible to get github webhook info from jenkins pipeline script?
For example, i want to know branch name and repo url. And further it will be used in cloning github repository to local machine:
git credentialsId: 'xxx', url: 'xxx', branch: 'xxx'