I'm creating a matrix job with Job DSL. It has two text axis, roughly 150 x 10 in size. The following is the rough DSL for the seed job:
job(type: Matrix) { name("documentation") runSequentially(true) scm { svn("svn://Documentation/", '.') } triggers { cron('H 18 * * *') } axes { text('product', products) // list of products (150) text('target', targets) // list of targets (10-15) } steps { shell("run") } } The first time generating this job succeeds. Updating the job from the seed job fails with the following exception: FATAL: Invalid method Code length 97273 in class file Script1$_run_closure1 java.lang.ClassFormatError: Invalid method Code length 97273 in class file Script1$_run_closure1 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) It seems that loading the previous configuration causes the code to be too long for the JVM. Apparently there is a limit of 64KB. Is there a way to increase this or split up the code in DSL to avoid this limitation? -- 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. For more options, visit https://groups.google.com/d/optout.