Course Content
Subtitle Guide – Hướng dẫn thêm phụ đề
0/1
15. CICD + Jenkins Pipeline + Docker + Maven
0/33
Jenkins, From Zero To Hero: Become a DevOps Jenkins Master
About Lesson

Hey, there!

There’s a chance your githooks won’t trigger correctly with 403 erros. This is due to a jenkins major upgrade, which modified something called CSRF in Jenkins, that protects you against DOS attacks.

Info:

https://jenkins.io/doc/upgrade-guide/2.176/#SECURITY-626

Resolution:

* Install a plugin named Strict Crumb Issue

* Go to Manage Jenkins -> Configure Global Security -> CSRF Protection.

* Select Strict Crumb Issuer.

* Click on Advanced.

* Uncheck the Check the session ID box.

* Save it.

It should look like this:

You can also check this question in the QA space, which is very informative: 8273042

Thanks to Oli Barnes for pointing this out