Hello,
I want to utilize a groovy script for running our unit test libraries in parallel. Therefore I’m using the groovyx.gpars.ParallelEnhancer lib:
import groovyx.gpars.ParallelEnhancer
When running this script via the Groovy-plugin (v. 2.0) or in the script console of Jenkins, I get the following error message:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Script1.groovy: 1: unable to resolve class groovyx.gpars.ParallelEnhancer
@ line 1, column 1.
import groovyx.gpars.ParallelEnhancer
^
The environment variable GROOVY_HOME is set correctly. I can’t find any additional options in the Jenkins configuration to setup an additional class path or any other configuration. On my local PC, the script runs without problems with the same groovy minor version (v. 2.4). Am I missing a configuration? I have no more ideas what I can try to run my script.
Kind regards / Mit freundlichen Grüßen
Hardy Koebe
externer Mitarbeiter, external employee of
Ferchau Engineering GmbH
Phone: +49 3641 52793-70
Mail: jena(at)ferchau.com
im Auftrag von, on behalf of
Laser Imaging Systems GmbH
Friedrich-Hund-Str. 3, D-07745 Jena, Germany
Phone: +49 3641 8761920
Fax: +49 3641 8761900
Mail:
Hardy...@orbotech.com
Sitz der Gesellschaft: Jena
Handelsregister / Registered No: AG Jena HRB 205768
Geschäftsführung / Managing Directors: Dr. Werner Eschke, Arik Gordon