Interview Prep/Jenkins/Shared libraries

What do the "Load implicitly" and "Allow default version to be overridden" options do?

IntermediateConceptShared libraries
Answer

Load implicitly makes the library available in every pipeline without @Library, at its default version. It is convenient for company-wide steps but means every build depends on it and changes affect everyone instantly. Allow default version to be overridden lets a Jenkinsfile request @Library('lib@feature-x'). Disable it on production controllers or the library's trust guarantees depend on every branch of the repo being safe.

All Jenkins questions Roadmap: Jenkins

More on Shared libraries