Reputation: 4868
I am trying to create a CI with my application, so every time that the master branch receive a commit I want to run a job. But after configured the webhook in bitbucket to http://my-host:8080/bitbucket-hook/
it's returning status 302.
Upvotes: 6
Views: 3739
Reputation: 5631
302 is a redirect code - Jenkins is sending you from http://server:8080/bitbucket-hook
(without trailing slash) to http://server:8080/bitbucket-hook/
(with trailing slash).
If you add the trailing slash to the webhook URL in Bitbucket, then do you get a different status code?
Upvotes: 20