Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

These instructions are for the Jenkins Git Plugin 4.0 and higher. For older versions of the Git Plugin, go here.

The cross-repository pull requests with fork repositories are only supported with the Bitbucket Branch Source endpoint.

...

To configure Jenkins to only build pull requests::

  1. From your Bitbucket repository, click the Repository Settings icon > Hooks and select Enabled or edit the previously enabled Webhook to Jenkins configuration.

  2. From the Advanced Configuration tab, select Build All from the Branch Options dropdown. This skips the allowlist and blocklist checks so that all new commits and tags send the required Jenkins notification.

...

  1. Image Added
Note

The Omit SHA1 Hash Code option must be unchecked in this configuration since it triggers polling mode on the Jenkins side. In this mode, Jenkins processes refs/heads/* only. Click the General Settings tab and confirm the Omit SHA1 Hash Code option is not selected.

...