Description
I'd like to have git variables injected in webhooks functionality so I could notify branch specific resourses, etc.
I.e, jenkins trigger works this way: you just add wehook for specific git repo
http://myjenkins/git/notifyCommit?url=http://192.168.12.88:7990/scm/test/test.git
I'd like to see, i.e, some variable for branch name so I could create a webhook that triggers jenkins jobs for specific branches, something like:
where BRANCH_NAME would be replaced with actual branch name.