Forgive me for asking, but did you verify you have access to the stash repo 
with the same credentials?

On Thursday, November 23, 2017 at 9:22:39 AM UTC-8, 
[email protected] wrote:
>
> Hi, 
>
> I have tried 2.46.3, 2.60.3 and 2.73.2 without much luck. I tried a very 
> simple setup with a project DUMMY (key DUM) with one repo git 'foo'. I 
> ended up with the following Jenkinsfile: 
>
> pipeline { 
>         agent any 
>         triggers { 
>                 pollSCM '' 
>         } 
>         stages { 
>                 stage('Commit') { 
>                         steps { 
>                                 checkout scm 
> ... 
>
> The payload that the BB Webhook is sending to Jenkins seems OK: 
>
> {"actor":{"username":"ikanis","displayName":"Ivan 
> Kanis"},"repository":{"scmId":"git","project":{"key":"DUM","name":"DUMMY"},"slug":"foo","links":{"self":[{"href":"
> https://bb/blablaDUM/repos/foo/browse"}]},"ownerName":"DUM","public":false,"owner":{"username":"DUM","displayName":"DUM"},"fullName":"DUM/foo"},"push":{"changes":[{"created":false,"closed":false,"new":{"type":"branch","name":"master","target":{"type":"commit","hash":"fa101eedb37a6bd876f47ea35e368fa91063c883"}},"old":{"type":"branch","name":"master","target":{"type":"commit","hash":"8b1804696297bc0167a57c27acce87572864f962"}}}]}}
>  
>
>
> I still don't get a build triggered on a git push. 
>
> The only thing that looks odd is an error in the configuration of the repo 
> 'foo'. It says: 
>
> "HTTP ERROR 403 
> Problem accessing 
> /job/d/job/foo/descriptorByName/com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource/fillRepositoryItems.
>  
> Reason: 
> Forbidden" (I have attached a screeshot.) 
>
> I might have to debug Jenkins tomorrow. Could anyone give me pointers to 
> which functions I need to look at? 
>
> Have a nice day, 
>
> Ivan 
>
>
>
> ----- Mail original ----- 
> De: "Dan Tran" <[email protected] <javascript:>> 
> À: "jenkinsci-users" <[email protected] <javascript:>> 
> Envoyé: Mercredi 22 Novembre 2017 01:26:30 
> Objet: Re: trouble with Bitbucket Branch Source Plugin 
>
> Hi 
>
> did it work before 2.73.3?? 
>
> -D 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group. 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>. 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/1669c2a8-00de-4e27-9b7b-7bd1093b6c76%40googlegroups.com.
>  
>
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/d8793ce3-638f-4211-9b86-f9351bebf40c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to