-
Task
-
Resolution: Unresolved
-
Major
-
None
I cannot get content from the src folder on a shared library, if the library is imported via UI, then it works fine, but dinamically imported ignores anything from src and just methods on the /var folder are available.
I import the library the following way:
library (identifier: 'libraryName@libraryBranch', retriever: modernSCM(
[$class: 'GitSCMSource',
remote: 'https://www.mylibraryRepo.git'))|https://www.mylibraryrepo.git%27]%29%29/]
doing it that way nothing but the /var content is available. importing the library by defining it in the jenkins configuration and then including "@Library('libraryName') _" works like a charm.
Am I missing something or is just that I am running on circles of a thing that is not supported?
Thanks
Juan