I have been looking for something similar where a library call could be triggered unconditionally for every single pipeline in order to inject bootstrapping or validation logic. So far this seems to be near impossible without the creation of a custom plugin in Java. The best you might be able to do is to add a CI check on all your jenkinsfiles and grep to ensure that the call you require is included in all jenkinsfiles. This is far from being bullet proof, but can help capture most of this.