fabric8-pipeline-library | Fabric8 Pipeline for Jenkins | Continuous Deployment library
kandi X-RAY | fabric8-pipeline-library Summary
kandi X-RAY | fabric8-pipeline-library Summary
Fabric8 Pipeline for Jenkins
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fabric8-pipeline-library
fabric8-pipeline-library Key Features
fabric8-pipeline-library Examples and Code Snippets
Community Discussions
Trending Discussions on fabric8-pipeline-library
QUESTION
I am trying to writing a Jenkins Shared Library for my CI process. I'd like to reference a class that is in the \src
folder inside a global function defined in the \vars
folder, since it would allow me to put most of the logic in classes instead of in the global functions. I am following the repository structure documented on the official Jenkins documentation:
Jenkins Shared Library structure
Here's a simplified example of what I have:
/src/com/example/SrcClass.groovy
...ANSWER
Answered 2019-Oct-23 at 19:06As @Szymon Stepniak pointed out, the -cp
parameter in my groovy
command was incorrect. It now works locally and on the Jenkins server. I have yet to explain why it wasn't working on the Jenkins server though.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fabric8-pipeline-library
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page