Re: Trouble using JenkinsRule with PluginManager

2021-08-06 Thread 'Björn Pedersen' via Jenkins Users
And see also https://javadoc.jenkins.io/component/jenkins-test-harness/org/jvnet/hudson/test/HudsonTestCase.html#useLocalPluginManager Björn Pedersen schrieb am Freitag, 6. August 2021 um 09:38:13 UTC+2: > And take a look at >

Re: Trouble using JenkinsRule with PluginManager

2021-08-06 Thread 'Björn Pedersen' via Jenkins Users
And take a look at https://javadoc.jenkins.io/component/jenkins-test-harness/org/jvnet/hudson/test/RestartableJenkinsRule.html , especially the info about UnitTestSupportingPluginManager. Björn Björn Pedersen schrieb am Freitag, 6. August 2021 um 09:32:14 UTC+2: > I guess this question

Re: Trouble using JenkinsRule with PluginManager

2021-08-06 Thread 'Björn Pedersen' via Jenkins Users
I guess this question is better suited for https://groups.google.com/g/jenkinsci-dev matthi...@outlook.com schrieb am Donnerstag, 5. August 2021 um 16:48:48 UTC+2: > Thanks for the reply. It looks like your repo is similar to > https://github.com/sheehan/job-dsl-gradle-example/, which is the

Re: Trouble using JenkinsRule with PluginManager

2021-08-05 Thread Matthias Denu
Thanks for the reply. It looks like your repo is similar to https://github.com/sheehan/job-dsl-gradle-example/, which is the example that our repo is based on as well. We've got Specifications that test the job DSL syntax and other job configuration stuff. And I see how the resolveTestPlugins

Re: Trouble using JenkinsRule with PluginManager

2021-06-30 Thread Ivan Fernandez Calvo
We do not use Spock, but we have a process to test jobDSL definitions before applying changes see https://github.com/elastic/apm-pipeline-library/tree/master/.ci/jobDSL it test that the syntax is correct and test that you can create the job. Probably the class that helps you is

Trouble using JenkinsRule with PluginManager

2021-06-30 Thread Matthias Denu
Hi, I'm trying to use a different set of plugins for different Spock Specifications. I've posted a more detail question here: https://stackoverflow.com/questions/68196423/trouble-using-a-base-spock-specification-and-jenkinsrule-with-pluginmanager I'm hoping that someone might be able to