简体   繁体   中英

BitBucket Webhook gives Crumb issues while posting to Jenkins

I am trying to setup webhook from Bitbucket to Jenkins but it is failing while testing them crumb issues. This Jenkins is deployed to Kubernetes 1.17 and Jenkins is the latest image 2.249.1 . Even from PostMan I am getting the same issue. I know there is something wrong in Jenkins Setup only.

Error :

Error 403 No valid crumb was included in the request

HTTP ERROR 403 No valid crumb was included in the request

Assuming you are triggering the job as a pre-push script, if its throwing crumb errors, you need to create personalized API token within Jenkins and would need that to be embedded in the API call from Bitbucket to Jenkins.

Please refer this article for generating a token - https://support.cloudbees.com/hc/en-us/articles/115003090592-How-to-re-generate-my-Jenkins-user-token

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM