Closed rnkhouse closed 4 years ago
@rnkhouse "Connecting to https://bitbucket.org with no credentials, anonymous access" can you confirm your configuration or share a screenshot?
@deebloo I have a multibranch pipeline project setup and configuration is in the below screenshot. When I set a periodical scan it's working fine only webhook is not working.
hmmmm not sure. Let me see if I can reproduce today sometime. Can you try creating a job that is of type Bitbucket Team/Project and see of you get the same problem?
@deebloo Looks like in Bitbucket Team/Project, it's at least detecting the change from webhook but not triggering the build. Please see below logs:
[Wed Jun 03 16:00:50 UTC 2020] Received com.cloudbees.jenkins.plugins.bitbucket.hooks.PushHookProcessor$1 UPDATED event from 18.234.32.227 ⇒ https://smee.io/bitbucket-scmsource-hook/notify/ with timestamp Wed Jun 03 16:00:50 UTC 2020 Connecting to https://bitbucket.org using */** (bitbucket) Repository type: Git Looking up */ for branches Checking branch staging from /***** ‘Jenkinsfile’ found Met criteria Changes detected: staging (null → d7921764edb64513516723001e8bb388c79ac3a184) Did not schedule build for branch: staging
1 branches were processed (query completed) [Wed Jun 03 16:00:51 UTC 2020] com.cloudbees.jenkins.plugins.bitbucket.hooks.PushHookProcessor$1 UPDATED event from 18.234.32.227 ⇒ https://smee.io/bitbucket-scmsource-hook/notify/ with timestamp Wed Jun 03 16:00:50 UTC 2020 processed in 0.63 sec
@rnkhouse if you downgrade the plugin to 2.7 do you still have the issue? I haven't messed with this plugin a ton with cloud only server
@deebloo Strangely, it worked with version 2.7.0. So, it looks like this is an issue with 2.8.0
We're having the same issue. Why aren't binary releases available here? How is one to downgrade to 2.7.0?
I found 2.7.0, and experienced the same thing. I can pull and build, but not register webhooks.
Is this fixed in version 2.9.2
?
@rnkhouse I doubt it we have not changed that code. This may have started happening because the plugin started requesting more hooks or the behavior of the server may have changed. @treaves seemed to indicate they had the same issue with 2.7.0. That points to a change in the server.
Yeah, maybe. I checked in version 2.9.2
and it's working.
Yay!
I am getting
403: Forbidden
error when I set up a webhook. I already set up Bitbucket Endpoints in Jenkins config. Manage hooks are checked with valid credentials and Custom Jenkins Root URL is blank.Your checklist for this issue
[x] Jenkins version: 2.222.4
[x] Plugin version: 2.8.0
[x] Bitbucket cloud: https://bitbucket.org/
[ ] Bitbucket server and version
Pipeline logs: