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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

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

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).


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 <[hidden email]> 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 [hidden email].
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.
Reply | Threaded
Open this post in threaded view
|

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

Mark Waite-2
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 <[hidden email]> 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).


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 <[hidden email]> 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 [hidden email].
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 [hidden email].
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.