jenkinsci / ghprb-plugin

github pull requests builder plugin for Jenkins
https://plugins.jenkins.io/ghprb/
MIT License
501 stars 608 forks source link

How to identify the ref branch of PR and distinguish the event type? #794

Open johnnyzhaoo opened 4 years ago

johnnyzhaoo commented 4 years ago

Dear developer, may I know how to identify the ref branch of PR ? E.g., when I create a new pull request in branch dev, in Jenkins, I can't distinguish the branch.

Another question is how to distinguish the event type. Github can push several events to Jenkins, but how to distinguish the detail type?