Re: trouble with Bitbucket Branch Source Plugin

2017-12-04 Thread i.ka...@betterfly-tourism.com
Hi,

You need to add a credential with Bitbucket user/password. It's documented here:

https://github.com/jenkinsci/credentials-plugin/blob/master/docs/user.adoc

Ivan

- Mail original -
De: "itchymuzzle" 
À: "jenkinsci-users" 
Envoyé: Mardi 21 Novembre 2017 23:44:05
Objet: Re: trouble with Bitbucket Branch Source Plugin

Not an answer to your question, but to get to your issue you must have 
gotten past the one I am having.  Can you take a look at my question? 
[https://groups.google.com/forum/#!topic/jenkinsci-users/n3JaXcXFzVs]  
Thanks.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f77cf19d-5351-499b-9fd1-38e624e64dac%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2036178316.15747076.1512376160399.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-28 Thread Joseph P
Released a fix for PR events not 
working: 
https://marketplace.atlassian.com/plugins/nl.topicus.bitbucket.bitbucket-webhooks/versions#b100600100

Den tirsdag den 21. november 2017 kl. 21.50.31 UTC+1 skrev 
i.k...@betterfly-tourism.com:
>
> Hello, 
>
> I am having trouble setting up trigger of build after a push to Bitbucket. 
> It happens on Jenkins version 2.73.3 (LTS)and 2.91 with Bitbucket Branch 
> Source Plugin version 2.2.7. 
>
> A webhook is registered on Bitbucket when I create a Bitbucket 
> Team/Project, that's good. However I am not seeing anything on the custom 
> logger of com.cloudbees.jenkins.plugins.bitbucket.hooks for a push from 
> Bitbucket. 
>
> To investigate further I setup the access logging as described at the 
> bottom of https://support.cloudbees.com/hc/en-us/articles/11551112 
>
> I get the following in the log following push "POST 
> /bitbucket-scmsource-hook/ HTTP/1.1" 403 406...". I am not too sure what 
> the log format is, but is seems like 403 indicates and error. 
>
> Is there anything I can do to assist in finding the problem? 
>
> Thanks in advance for any suggestions. 
>
> Ivan 
>
>
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bba1a876-d65b-44ea-bf1b-c2d5cabd0b0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread Joseph P
Have you enabled manage hook inside Jenkins system configuration in 
Bitbucket section? Or have you added the Jenkins webhook address inside the 
Repository settings under Post webhooks (this is basically what Manage 
hooks does)

Den fredag den 24. november 2017 kl. 11.33.38 UTC+1 skrev 
i.k...@betterfly-tourism.com:
>
> Hi, 
>
> I have dowgraded to 1.5.2 and still not getting a build trigger. I am 
> using 'Bitbucket Server Webhook to Jenkins' as a workaround. 
>
> Ivan 
>
> - Mail original - 
> De: "Joseph P" > 
> À: "jenkinsci-users" > 
> Envoyé: Vendredi 24 Novembre 2017 08:24:30 
> Objet: Re: trouble with Bitbucket Branch Source Plugin 
>
> Yes please downgrade to 1.5.2 Bitbucket webhook plugin while we are 
> looking 
> into a fix 
>
> By uninstalling via Manage add-ons link and then choose upload add-on and 
> put in the URL below 
>
> https://marketplace.atlassian.com/download/plugins/nl.topicus.bitbucket.bitbucket-webhooks/version/100500110
>  
>
> Docs from Atlassian: 
>
> https://confluence.atlassian.com/upm/uninstalling-add-ons-273875709.html#Uninstallingadd-ons-Uninstallinganadd-on
>  
>
> https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload
>  
>
> Terribly sorry for not catching it before releasing :| 
>
> Den fredag den 24. november 2017 kl. 07.39.43 UTC+1 skrev Dan Tran: 
> > 
> > bitbucket-webhook 1.6 reportedly broken   see 
> > 
> https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045
>  
>
> -- 
> 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 jenkinsci-use...@googlegroups.com . 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-users/b04b7077-026a-4fb6-a710-0eb523239406%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/165af576-8073-4bf9-963f-e9ecb960f5d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread Young Lee
I previously had installed Post Webhooks for Bitbucket v1.6.0 and reported 
issues with `PullRequestEvents` not being submitted.

A downgrade to v1.5.2 resolved my issues.

My setup is Jenkins LTS 2.73.3,  bitbucket branch source plugin 2.2.7, and 
Post webhooks for Bitbucket v1.5.2.  This combo works for us.

BTW: here is the thread where I reported the issue

https://groups.google.com/forum/?nomobile=true#!topic/jenkinsci-users/AZi6_kcr2sI


On Friday, November 24, 2017 at 1:34:05 AM UTC-8, 
i.k...@betterfly-tourism.com wrote:
>
> Hi Young Lee, 
>
> I have a credential user/password that has access to the Bitbucket repo. 
> Did I understand your question correctly? 
>
> Ivan 
>
> - Mail original - 
> De: "Young Lee" > 
> À: "jenkinsci-users" > 
> Envoyé: Jeudi 23 Novembre 2017 21:35:34 
> Objet: Re: trouble with Bitbucket Branch Source Plugin 
>
> 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, 
> i.k...@betterfly-tourism.com 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" > 
> > À: "jenkinsci-users" > 
> > 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 jenkinsci-use...@googlegroups.com . 
> > 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 jenkinsci-use...@googlegroups.com . 
> 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. 
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/0362264a-2749-40fc-8161-907eb763467a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread i.ka...@betterfly-tourism.com
Hi,

I have dowgraded to 1.5.2 and still not getting a build trigger. I am using 
'Bitbucket Server Webhook to Jenkins' as a workaround.

Ivan

- Mail original -
De: "Joseph P" 
À: "jenkinsci-users" 
Envoyé: Vendredi 24 Novembre 2017 08:24:30
Objet: Re: trouble with Bitbucket Branch Source Plugin

Yes please downgrade to 1.5.2 Bitbucket webhook plugin while we are looking 
into a fix

By uninstalling via Manage add-ons link and then choose upload add-on and 
put in the URL below
https://marketplace.atlassian.com/download/plugins/nl.topicus.bitbucket.bitbucket-webhooks/version/100500110

Docs from Atlassian:
https://confluence.atlassian.com/upm/uninstalling-add-ons-273875709.html#Uninstallingadd-ons-Uninstallinganadd-on
https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload

Terribly sorry for not catching it before releasing :|

Den fredag den 24. november 2017 kl. 07.39.43 UTC+1 skrev Dan Tran:
>
> bitbucket-webhook 1.6 reportedly broken   see 
> https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b04b7077-026a-4fb6-a710-0eb523239406%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/647965740.14097823.1511519588075.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread Joseph P
Yes please downgrade to 1.5.2 Bitbucket webhook plugin while we are looking 
into a fix

By uninstalling via Manage add-ons link and then choose upload add-on and 
put in the URL below
https://marketplace.atlassian.com/download/plugins/nl.topicus.bitbucket.bitbucket-webhooks/version/100500110

Docs from Atlassian:
https://confluence.atlassian.com/upm/uninstalling-add-ons-273875709.html#Uninstallingadd-ons-Uninstallinganadd-on
https://confluence.atlassian.com/upm/installing-add-ons-273875715.html#Installingadd-ons-Installingbyfileupload

Terribly sorry for not catching it before releasing :|

Den fredag den 24. november 2017 kl. 07.39.43 UTC+1 skrev Dan Tran:
>
> bitbucket-webhook 1.6 reportedly broken   see 
> https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b04b7077-026a-4fb6-a710-0eb523239406%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread i.ka...@betterfly-tourism.com
Hi,

We are using 1.5.4.

- Mail original -
De: "Dan Tran" 
À: "jenkinsci-users" 
Envoyé: Vendredi 24 Novembre 2017 07:39:42
Objet: Re: trouble with Bitbucket Branch Source Plugin

bitbucket-webhook 1.6 reportedly broken  
 see 
https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2314bf2e-079f-4d12-9386-0f551ab63519%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1080525576.14033639.1511512250656.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-24 Thread i.ka...@betterfly-tourism.com
Hi Young Lee,

I have a credential user/password that has access to the Bitbucket repo. Did I 
understand your question correctly?

Ivan

- Mail original -
De: "Young Lee" 
À: "jenkinsci-users" 
Envoyé: Jeudi 23 Novembre 2017 21:35:34
Objet: Re: trouble with Bitbucket Branch Source Plugin

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, 
i.k...@betterfly-tourism.com 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" > 
> À: "jenkinsci-users" > 
> 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 jenkinsci-use...@googlegroups.com . 
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
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.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/509419574.14035072.1511512441508.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-23 Thread Dan Tran
bitbucket-webhook 1.6 reportedly broken  
 see 
https://github.com/Eernie/bitbucket-webhooks-plugin/pull/71#issuecomment-346656045

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/2314bf2e-079f-4d12-9386-0f551ab63519%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-23 Thread Young Lee
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, 
i.k...@betterfly-tourism.com 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" > 
> À: "jenkinsci-users" > 
> 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 jenkinsci-use...@googlegroups.com . 
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-23 Thread i.ka...@betterfly-tourism.com
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" 
À: "jenkinsci-users" 
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 jenkinsci-users+unsubscr...@googlegroups.com.
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/1435141698.13993169.1511454681352.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-21 Thread Dan Tran
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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: trouble with Bitbucket Branch Source Plugin

2017-11-21 Thread itchymuzzle
Not an answer to your question, but to get to your issue you must have 
gotten past the one I am having.  Can you take a look at my question? 
[https://groups.google.com/forum/#!topic/jenkinsci-users/n3JaXcXFzVs]  
Thanks.

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f77cf19d-5351-499b-9fd1-38e624e64dac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


trouble with Bitbucket Branch Source Plugin

2017-11-21 Thread i.ka...@betterfly-tourism.com
Hello,

I am having trouble setting up trigger of build after a push to Bitbucket. It 
happens on Jenkins version 2.73.3 (LTS)and 2.91 with Bitbucket Branch Source 
Plugin version 2.2.7.

A webhook is registered on Bitbucket when I create a Bitbucket Team/Project, 
that's good. However I am not seeing anything on the custom logger of 
com.cloudbees.jenkins.plugins.bitbucket.hooks for a push from Bitbucket.

To investigate further I setup the access logging as described at the bottom of 
https://support.cloudbees.com/hc/en-us/articles/11551112

I get the following in the log following push "POST /bitbucket-scmsource-hook/ 
HTTP/1.1" 403 406...". I am not too sure what the log format is, but is seems 
like 403 indicates and error.

Is there anything I can do to assist in finding the problem?

Thanks in advance for any suggestions.

Ivan


-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/657858251.13267969.1511280056583.JavaMail.zimbra%40betterfly-tourism.com.
For more options, visit https://groups.google.com/d/optout.