stash-jenkins-postreceive-webhook
stash-jenkins-postreceive-webhook copied to clipboard
Added NewBranchEligibilityFilter
Skip new branches without changes which are created in Bitbucket
@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
@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 : 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..
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.