Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Gitlab web hook fails when Cross Site Request Forgery protection is active #30
When the CSRF protection is set in Jenkins security config, the web hook requests fail with this error:
This is caused by the POST request which does not use a crumb.
A simple fix could be implementing a
(I already opened a ticket in Jenkins JIRA JENKINS-23370; but maybe here is a better place)
added a commit
Jul 13, 2014
Version 1.1.0 has this resolved. If the plugin version doesn't come up on Manage Plugins page, you can install manually from http://repo.jenkins-ci.org/releases/org/jenkins-ci/ruby-plugins/gitlab-hook/1.1.0/.