jenkins-pipeline-shared-libraries-gradle-plugin
jenkins-pipeline-shared-libraries-gradle-plugin copied to clipboard
Gradle plugin to help with build and test of Jenkins Pipeline Shared Libraries (see https://jenkins.io/doc/book/pipeline/shared-libraries/)
I had a Jenkins shared library vars script doing this: ```groovy boolean isUnixCached = isUnix() ``` CodeNarc then complained, telling me to change it to this: ```groovy boolean isUnixCached =...
For unit tests it is straight forward and just works out of the box with the JaCoCo plugin (`id 'jacoco'`). Integration tests are more likely to be used to flex...
I am currently trying to figure out a way to get into testing of some pipelines and shared-libs we have been writing and trying to get my hands on this...
Hi, first of all - thanks for the great project :) Just wanted to share a bit of trench story, maybe to highlight this in the docs. I have a...
Sadly somehow workflow-aggregator plugin can not be found, even if it is on the plugin dependencies list. ```kotlin pluginDependencies(Action { dependency("org.jenkins-ci.plugins.workflow", "workflow-aggregator", "2.5") dependency("org.jenkins-ci.plugins", "job-dsl", "1.69") dependency("org.6wind.jenkins", "lockable-resources", "2.2") dependency("org.jenkinsci.plugins",...
Jenkins core still uses Guava 11: https://github.com/jenkinsci/jenkins/blob/d4690b20f9dc170f7657c6b36df2c0d48a217ebe/bom/pom.xml#L42 My integration test uses http-request-plugin 1.8.26. Looking at the dependencies of the Gradle plugin, Guava 18 is used: ``` $ gradle dependencies |...
Hello, I trying to use Your plugin to test jobDsl including folder creation. To simulate my issue I've extended [example](https://github.com/mkobit/jenkins-pipeline-shared-library-example): I've added dependency to : ``` pluginDependencies { ... dependency("org.jenkins-ci.plugins",...
I have figured out a solution to the classloader issue with `@Grab`. See my [answer](https://stackoverflow.com/questions/4611230/no-suitable-classloader-found-for-grab/64886884#64886884) for [this](https://stackoverflow.com/questions/4611230/no-suitable-classloader-found-for-grab/) StackOverflow question. To summarize, because the `GrapeIvy.groovy` implementation of Grape does not allow...
**Motivation**: Most Jenkins instances probably have some methods that have been ad-hoc whitelisted. The whitelist should be able to be retrieved inspection at first, and CodeNarc rules/compiler tooling can use...