-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
That would be really nice if workflow-cps-global-lib-plugin allow subfolders in vars/ directory.
At this time it doesn't seem to traverse a directory tree when rebuilding its list : https://github.com/jenkinsci/workflow-cps-global-lib-plugin/blob/master/src/main/java/org/jenkinsci/plugins/workflow/cps/global/UserDefinedGlobalVariableList.java#L39
I'm working on a library with a lot of variables and that would be easier to maintain if I could sort them in subfolders like this :
(root) +- src | +- org | +- foo | +- Bar.groovy +- vars | +- folder1 | | +-varOne.groovy | | +-varTwo.groovy | | | +- folder2 | +- varThree.groovy |