Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run builds for new branches/PRs #772

Open
bobf opened this issue Oct 12, 2023 · 2 comments
Open

Run builds for new branches/PRs #772

bobf opened this issue Oct 12, 2023 · 2 comments
Assignees

Comments

@bobf
Copy link

bobf commented Oct 12, 2023

What feature do you want to see added?

When we push a new branch/create a new PR to Bitbucket Cloud, Jenkins does not run the build unless the branch/PR has been discovered by a Branch Indexing. Once a branch has been discovered by Branch Indexing, subsequent pushes to the branch/PR trigger an immediate build.

We have a large number of repositories so this causes a lot of lag when pushing new branches. We set all jobs to scan periodically but rate limiting from Bitbucket means that developers typically have to wait 20-30 minutes before a new branch is detected.

Is this something that can be fixed by configuration ?

Upstream changes

No response

@ardrabczyk
Copy link

ardrabczyk commented Feb 15, 2024

I use Bitbucket server, not cloud but I created a token with write permissions and enabled hooks in the configuration and new PRs and new commits in existing PRs are detected automatically.

@nfalco79
Copy link
Member

nfalco79 commented Nov 14, 2024

Unless you had configured a build strategy when a push event of kind "pull request created" (same for branch job) arrives a new job is created and than start a build immediately
Try with latest plugin version

@nfalco79 nfalco79 self-assigned this Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants