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 
https://github.com/elastic/apm-pipeline-library/blob/master/.ci/jobDSL/src/test/groovy/JobScriptsSpec.groovy
 
, also it is really tricky to configure the plugins you need 
on 
https://github.com/elastic/apm-pipeline-library/blob/master/.ci/jobDSL/build.gradle#L29-L68

El miércoles, 30 de junio de 2021 a las 16:33:56 UTC+2, 
matthi...@outlook.com escribió:

> 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 provide some insight. Thank you. 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/402a9608-e467-4f21-b66c-634d3e8894dcn%40googlegroups.com.

Reply via email to