Webhook to Jenkins for Bitbucket Server and Jenkins Pipelines

Hi all,

we're using the Webhook to Jenkins for Bitbucket Datacenter to trigger our builds immediately. It has been working fine for years and we're quite happy with it. We have recently started to use Jenkins Pipelines. For some reason, the trigger does not work here. When testing hook, I get the following error message when clicking the Trigger Build button:

Error: Jenkins response: No git jobs using repository: https://sourcecode.socialcoding.bosch.com/scm/sc/socomon-go.git and branches: develop Scheduled indexing of socomon-go

The job is a multibranch pipeline and the git repo url matches the one specified in the webhook configuration. I'd appreciate any ideas on this.

Thanks and cheers,

3 answers

This widget could not be displayed.

Hi James,

thanks a lot for your suggestion. I'm new to Jenkinsfiles so I'll have to do some reading to fully understand your suggestion. In the meantime, it turns out that the Webhook for Jenkins plugin does indeed work and does trigger our builds. The error message still shows up, though. For the time being, we're good ... I'll have a look at the Pull Request Notifier for Bitbucket plugin you mentioned, though.

I think the spam bots removed my comment because it contained a link to a blog, how annoying.

This widget could not be displayed.

Here is the key - please read docs carefuly :)


3. Enable the Poll SCM option in the Build Triggers. This is required to remotely trigger a build. Since we don’t really need to poll, you can set the poll frequency to poll very infrequently.

4. Save your project configuration.


The configuration page of my multibranch pipeline job doesn't have a "Build Triggers" section. My understanding is that this is replaced with the section named "Scan Multibranch Pipeline Triggers" and that is already enabled with a 15 minute frequency. Still no luck.

Hi @Georg Gruetter I'm in the same boat! Did you work this one out?

This widget could not be displayed.

Same issue and have not determine a resolution.  Any of these options work.

If you do find a solution please post it here :-)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

258 views 14 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you