[JENKINS-21903] Amending 0ff6a1b with flag blockTriggerWhenBuilding to control the new behavior, rather than overloading blockBuildWhenUpstreamBuilding.
Allows more detailed control that may be needed in some setups.
Also preserves the default behavior from older plugin versions to avoid surprises.