Laurent Hinoul

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - John F. Woods

How to use Jenkins plugin in IntelliJ IDEA (crumb data fix)

I recently installed the jenkins control plugin in my Intellij IDEA (

Once installed, I added the server address, my username and password. Pressing “Test Connection”… I got an error like “CSRF enabled -> Missing or bad crumb data“.

I searched for my crumb data using the url like http://<jenkins_url>/crumbIssuer/api/json?tree=crumb, but the error message appeared again…


You need to create an API token in jenkins for your user. This can be done by going to this URL for your jenkins: http://<jenkins_url>/user/<username>/configure

Go to “API Token” and click on “Add new token”.

Give it a name and copy this token

Next, fill this token into the password field in IntelliJ and press “Test Connection”> You sould be successful now.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: