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

27 views
Skip to first unread message

James Green

unread,
Dec 22, 2017, 4:27:35 AM12/22/17
to jenkins...@googlegroups.com
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

James Green

unread,
Dec 22, 2017, 4:39:00 AM12/22/17
to jenkins...@googlegroups.com
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

Mark Waite

unread,
Dec 23, 2017, 11:36:53 AM12/23/17
to jenkins...@googlegroups.com
Thanks for detecting that.  Have you considered proposing a pull request to the plugin help so that it will assist other users?

Mark Waite

--
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/CAMH6%2BawnVM4EJUwB57Mf__VdaJimQX9Mnn5_oF5ZbK_71Gf%3D1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages