Tuesday, 13 April 2021

Kiln -> Jenkins web hooks (HTTP ERROR 403 No valid crumb was included in the request)

Our Kiln web hooks stopped working a while ago, finally had a chance to fix.  Here's how:

In Jenkins configure a user and add an API Token (Dashboard->people->user->configure->API Token).  Add a new token.  Name not important so long as it makes sense to you.  Copy the token string - it will not be displayed again:

 

In Kiln go to Web Hooks (top right, click on avator, in top down menu Kiln Administration section) - note you will need admin right to do this.  Create a new web hook:


















Note "JENKINS USERNAME" must match the user used in Jenkins above and "PASSWORD" should be the token string generated above (note: not the user's usual password).

No comments:

Post a Comment