Open pchomik opened 6 years ago
I'm getting the exact same error. Have you figured it out?
Yep I'm having the same error. I've named the library wolox-ci but it seems to not be able to reference itself.
I'm having the same issue. Loading library from master.
Jenkins ver. 2.138.2 wolox-ci: from master
Thanks for your help
I got it to work in the end by removing the self reference. Turns out it really doesn't do what I was expecting and isn't really a general yaml interface to pipeline (which they did seem to say.) I think I might go back to a mixture of pipeline and jjb.
Any update?
Yes, I'd like to use this as well but I'm getting the same error as the other posters.
I've try wolox-ci on my Jenkins docker and solved unable to resolve class Library, unable to find class for annotation
. Let me share my workaround with this issue.
You need 2 steps to wolox-ci work on your Jenkins.
1. fix unable to resolve class Library
via patch to Shared Library.
Error caused because of wolox-ci's .groovy didn't load org.jenkinsci.plugins.workflow.libs.Library
. So my quick fix is import it before calling Library
. I've forked repo and made little changes.
Here's diff. https://github.com/guitarrapc/wolox-ci/compare/development...import
Now switch Jenkins Shared Library to your forked repo.
Go to Manage Jenkins > Configure System > Global Pipeline Libraries
and add library as follows.
2. Add dependent plugins which wolox-ci groovy calling
wolox-ci groovy using some plugins but they are not indicated on README. After you fix unable to resolve class Library
, you'll see missing plugin errors on you job. Let's add dependent plugins.
Go to Manage Jenkins > Manage Plugins
and add followings.
Finally, you can execute wolox's sample app https://github.com/Wolox/rails-bootstrap on your jenkins!
I hope this helps you.
Here's my repo to try wolox, just for your reference.
Hello,
I tried to use wolox-ci but I have a problem to load it. I'm loading library as global library from git and loading it in implicit or explicit way. I'm using:
Thanks in advance for help.
The error: