Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54655

declarative library fails to override implicitly loaded library

XMLWordPrintable

      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
      

       

            Unassigned Unassigned
            xaseron Michael Werner
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: