Issue
I configured Jenkins shared library with git repo which has a structure:
resources
|__ some_files
src
|__ some_files
vars
|__ some_files
But i got an error: "Library expected to contain at least one of src or vars directories"
. What's wrong? I have mandatory directories.
Solution
The problem is incorrect exception text: https://issues.jenkins-ci.org/browse/JENKINS-62961
Answered By - Restman