Issue
In my Jenkins shared library how can I import java jar class file. I have helper function written in Java and have it as jar fie. How can I include this jar file part of my Jenkins shared library?
Included jar file in resources
Directory but pipeline script not finding the class file. giving unable to resolve class
error message.
Thanks SR
Solution
This is the Generic way of referring a Jenkins shared library.
// Jenkinsfile
@Library('first-shared-lib')
Answered By - user16473100