Hi,
We can read "doWriteObject(BlockMarshaller.java:65)"
We then can suppose plugins are not serializable object.
So, try to encapsulate your code in a groovy function, with the
annotation @NonCPS
On Sat, Dec 19, 2020 at 6:44 PM zil...@gmail.com wrote:
> I have the following line in my pipel
This works just as well (posted on a thread here), and no dumps.
def plugins = Jenkins.instance.pluginManager.plugins.*findAll* {
!(it.shortName in ['job-dsl', 'structs']) }.*collect* { "*${it.shortName}*:
*${it.version}*" }
On Saturday, December 19, 2020 at 12:43:47 PM UTC-5 zil...@gmail.com
I have the following line in my pipeline to get the currently installed
plugins.
def plugins = jenkins.model.Jenkins.instance.getPluginManager().getPlugins()
and it dumps the following. Any ideas why? I can run the code in the
Scripts console.
an exception which occurred: in field
com.cloudbe