'how to use Jenkins plugin in pipeline as code
I have written a Jenkins plugin using Java and deployed the HPI file in my Jenkins instance. The plugin is available for use when i use freestyle job from the Jenkins GUI. When i try to access/use the plugin in the Pipeline as code (.Jenkins file) i am not able to access or use the plugin i deployed. The plugin is not showing up in pipeline script generator as well. Can some one provide the detail of what i need to do so that the plugin i have written can be used in the pipeline script format as well?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
