-
Bug
-
Resolution: Unresolved
-
Major
-
Jenkins 2.46.1
git plugin 3.3.0
I have several jobs configured with a branch specifier like refs/heads/<branch>. A post-receive hook from a git server triggers jobs by sending something like http://<jenkins server>/git/notifyCommit?url=<git server>:<git repo>&branches=<branchName> to jenkins. The jobs are triggered if branch branchName is e.g. master but it does not work if branchName is refs/heads/master. I have checked the git polling protocol in jenkins.
Hi tgb
Can you try configuring the branch name as */master.
It'll fix your problem.