Re: [multibranch] [bitbucket] Code push tells Jenkins, Jenkins doesn't build anything

2017-12-23 Thread Mark Waite
Thanks for detecting that.  Have you considered proposing a pull request to
the plugin help so that it will assist other users?

Mark Waite

On Fri, Dec 22, 2017 at 2:38 AM James Green 
wrote:

> Solved!
>
> We had been using the "BitBucket Plugin" to receive the web hook
> notifications from BitBucket.org and expected this to continue to work.
>
>
> https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#bitbucket
> mentions Web Hook Registration yet we saw no such option (else this may
> have provided a hint).
>
> Then we found a Q describing the issue and declaring the URL in here:
> https://support.cloudbees.com/hc/en-us/articles/11553051-How-to-Trigger-Multibranch-Jobs-from-BitBucket-Server-
>
> If only the first article had that URL... If only the job creation screen
> mentioned the need for a new web hook... Oh well!
>
> James
>
>
> On 22 December 2017 at 09:27, James Green 
> wrote:
>
>> I've just converted a Pipeline job that built every time a change was
>> pushed into BitBucket to the equivalent as a multibranch project.
>>
>> Trouble is, pushes no longer trigger builds. BitBucket is still getting a
>> 200 OK from the webhook when it hits Jenkins, but nothing else happens.
>>
>> On inspection, the multibranch project created a `master` child job which
>> has an option "Build when a change is pushed to BitBucket" but this is NOT
>> checked, and the child job lacks any save button with which to change
>> things. When I created the project the master branch built just fine first
>> time.
>>
>> This appears to be a bug but I might expect more complaints when I search
>> for it. I wonder if it is some requirement of the user that connects to
>> BitBucket - like it doesn't have sufficient rights for something not
>> involving cloning?
>>
>> Thoughts?
>>
>> James
>>
>>
> --
> 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/CAMH6%2BawnVM4EJUwB57Mf__VdaJimQX9Mnn5_oF5ZbK_71Gf%3D1g%40mail.gmail.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/CAO49JtFic%2B26v4CwD%2B8hxdM_2LXPKuuyT8V0dP06Ek0Wemt%2BHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [multibranch] [bitbucket] Code push tells Jenkins, Jenkins doesn't build anything

2017-12-22 Thread James Green
Solved!

We had been using the "BitBucket Plugin" to receive the web hook
notifications from BitBucket.org and expected this to continue to work.

https://go.cloudbees.com/docs/cloudbees-documentation/cje-user-guide/index.html#bitbucket
mentions Web Hook Registration yet we saw no such option (else this may
have provided a hint).

Then we found a Q describing the issue and declaring the URL in here:
https://support.cloudbees.com/hc/en-us/articles/11553051-How-to-Trigger-Multibranch-Jobs-from-BitBucket-Server-

If only the first article had that URL... If only the job creation screen
mentioned the need for a new web hook... Oh well!

James


On 22 December 2017 at 09:27, James Green  wrote:

> I've just converted a Pipeline job that built every time a change was
> pushed into BitBucket to the equivalent as a multibranch project.
>
> Trouble is, pushes no longer trigger builds. BitBucket is still getting a
> 200 OK from the webhook when it hits Jenkins, but nothing else happens.
>
> On inspection, the multibranch project created a `master` child job which
> has an option "Build when a change is pushed to BitBucket" but this is NOT
> checked, and the child job lacks any save button with which to change
> things. When I created the project the master branch built just fine first
> time.
>
> This appears to be a bug but I might expect more complaints when I search
> for it. I wonder if it is some requirement of the user that connects to
> BitBucket - like it doesn't have sufficient rights for something not
> involving cloning?
>
> Thoughts?
>
> James
>
>

-- 
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/CAMH6%2BawnVM4EJUwB57Mf__VdaJimQX9Mnn5_oF5ZbK_71Gf%3D1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[multibranch] [bitbucket] Code push tells Jenkins, Jenkins doesn't build anything

2017-12-22 Thread James Green
I've just converted a Pipeline job that built every time a change was
pushed into BitBucket to the equivalent as a multibranch project.

Trouble is, pushes no longer trigger builds. BitBucket is still getting a
200 OK from the webhook when it hits Jenkins, but nothing else happens.

On inspection, the multibranch project created a `master` child job which
has an option "Build when a change is pushed to BitBucket" but this is NOT
checked, and the child job lacks any save button with which to change
things. When I created the project the master branch built just fine first
time.

This appears to be a bug but I might expect more complaints when I search
for it. I wonder if it is some requirement of the user that connects to
BitBucket - like it doesn't have sufficient rights for something not
involving cloning?

Thoughts?

James

-- 
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/CAMH6%2Baw2Ggq1voTnVSKLWO0YPN0fZ3u9fLcf9-YR5ELPLCKp2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.