-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins LTS 1.651.1
CSRF breaks general commit hook actions, not just for Plugins. Since Kohsuke added the http://jenkins/git/notifyCommit?url= action to trigger a polling event, this kind of action is used generically outside of Github Plugin, e.g. projects using something other than Github. In my case, Gitlab, which has push hooks to generically trigger remote URLs.
CSRF should have an exclusion for /git/notifyCommit
See http://kohsuke.org/2011/12/01/polling-must-die-triggering-jenkins-builds-from-a-git-hook/
See JENKINS-20140
See JENKINS-10263