"Suppress automatic SCM triggering" skips all builds executed by SCM change 
- indexing and hooks (events). Only jobs manually executed are built. See 
source 
code 
<https://github.com/jenkinsci/branch-api-plugin/blob/b99766caece8edb67adc0ce2dde8e3f0d2df67c5/src/main/java/jenkins/branch/NoTriggerBranchProperty.java>
.

However you suggestion is very good. I could make this branch property 
parametrized:

   - all - skip both (default)
   - indexing - skip only indexing
   - events - skip only webhooks

My current workaround skips builds of branches found during the job 
creation. It means that if you create a job, next a branch and a webhook 
won't be delivered, my workaround builds it on indexing. Unfortunately, to 
implement this the API must be extended in more places. The idea with 
extending the branch property does not require many changes and protects 
against building the whole world after the job creation. I think it solves 
the problem good enough as for the first try.

I'll propose this in the PR.

Thanks :)

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/bf60c1a9-1186-46c9-967c-c7d4b84f2cdf%40googlegroups.com.

Reply via email to