Hello There:
I am trying to user repository webhook but seems it is not working for me. I have even provided anonymous permissions to my repository but still seeing error 403
403
Cache-Control: must-revalidate,no-cache,no-store Server: Jetty(9.4.z-SNAPSHOT) X-Content-Type-Options: nosniff Content-Length: 421 Date: Fri, 20 Jul 2018 21:00:32 GMT Via: 1.1 localhost (Apache-HttpClient/4.5.5 (cache)) Content-Type: text/html; charset=ISO-8859-1
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 403 No valid crumb was included in the request</title> </head> <body><h2>HTTP ERROR 403</h2> <p>Problem accessing /job/deploymentrepo/job/integration/build. Reason: <pre> No valid crumb was included in the request</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a><hr/> </body> </html>
That 403 isn't coming from Bitbucket - it's coming from Jenkins (or whatever server you're sending to that uses Jetty) - so you'll need to add credentials to the webhook.
Thanks James!
Even I tried using secret but it didn't work out maybe I'm using the wrong secret. when you say credentials in your command do you mean a combination of username and password or secret plugin inside the build.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.