Bitbucket and Jenkins remote build trigger -
what trying achieve
trigger build bitbucket when pr created using remote trigger option in jenkins. created job in jenkins , configured trigger build remote api.
in bitbucket created webhooks trigger build following url structure
http://jenkins_server_ip:port/job/job-name/build?token=<t1>
i getting following error
<html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <title>error 403 no valid crumb included in request</title> </head> <body> <h2>http error 403</h2> <p>problem accessing /job/android-sample/build. reason: <pre> no valid crumb included in request</pre> </p> <hr> <a href="http://eclipse.org/jetty">powered jetty:// 9.4.z-snapshot</a> <hr/> </body> </html>
digged internet , says need use crumbissuer api in jenkins done wget
. how can use in bitbucket?
you can close csrf security check in : system configure -> configure global security -> csrf protection, , uncheck checkbox.
Comments
Post a Comment