-
Bug
-
Resolution: Unresolved
-
Minor
-
None
If the declarative syntax is used for loading a shared library it fails to override the impliciliy loaded global library. The "Allow default version to be overridden" configuration is set.
This is a drawback from the old @LIBRARY(...) syntax.
pipeline {
libraries {
lib('TF_CD_LIB@master')
}
...
}
Pipeline:
Only using first definition of library TF_CD_LIB
[JENKINS-54655] declarative library fails to override implicitly loaded library
Assignee | New: Andrew Bayer [ abayer ] |
Assignee | Original: Andrew Bayer [ abayer ] |
Comment | [ [~xaseron] I am using declarative pipeline which does not seem to support @Library syntax. I am trying to use "library 'my-shared-library@my-special-branch'" but it makes no effect. It still loads the version defined in global settings. ] |