stash-jenkins-postreceive-webhook icon indicating copy to clipboard operation
stash-jenkins-postreceive-webhook copied to clipboard

Added NewBranchEligibilityFilter

Open Setre14 opened this issue 7 years ago • 4 comments

Skip new branches without changes which are created in Bitbucket

Setre14 avatar Aug 22 '17 06:08 Setre14

@alexBraidwood it would be great if you find time to have a look on that PR?

we would need it since that would reduce the load of our jenkins a lot...

THX

bfarka avatar Aug 24 '17 16:08 bfarka

@Setre14 First of all, thanks for the pull request.

Is this a fix for Jenkins builds that build for any branch committed to? If that's the case, this sounds easily fixed by specifying which branches to build in Jenkins instead of eating every commit to every branch.

EDIT: For clarity.

alexBraidwood avatar Sep 01 '17 13:09 alexBraidwood

@alexBraidwood : me and @Setre14 worked on this PR...

what it does is...

if you create an branch in BB (or via an linked jira) the new branch without any changes gets built on Jenkins..

we want to skip that very first build since the result should be the same like on master and creates a bunch of load on our systems..

bfarka avatar Sep 04 '17 05:09 bfarka

Is there any progress with this PR? We could use it as well. As described above, many of our devs use the workflow "create branch from jira", so all those builds (up to 50 a day) are completely useless and block the CI from doing more useful tasks.

rbrindl avatar Jun 11 '18 11:06 rbrindl