Now I tried to configure the Groovy plugin. I've set the path to the groovy installation. Now, when I run my groovy script with the "Execute Groovy script" build step, I get the following error:
error: dynamic library D:\_Jenkins_LTS_\tools\hudson.model.JDK\Java_8u66\jre\bin\client\jvm.dll exists but could not be loaded! This may be caused e.g. by trying to use a 32-bit executable to load a 64-bit jvm (or vice versa) error (win code 193): (null) error: dynamic library D:\_Jenkins_LTS_\tools\hudson.model.JDK\Java_8u66\jre\bin\server\jvm.dll exists but could not be loaded! This may be caused e.g. by trying to use a 32-bit executable to load a 64-bit jvm (or vice versa) error (win code 193): (null) error: could not find client or server jvm under D:\_Jenkins_LTS_\tools\hudson.model.JDK\Java_8u66 please check that it is a valid jdk / jre containing the desired type of jvm This seems to be a problem with the "bitness" of different processes. I get the same error, when I run the groovy command via a "Command line" build step. But I have no idea, how to solve this... Can anyone give advice? When running as "Execut system Groovy script", I still get the failing import-message. Kind regards / Mit freundlichen Grüßen Hardy Koebe | Software Laser Imaging Systems GmbH Phone: +49 3641 8761920 | Mail: [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dirk Heinrichs Sent: Dienstag, 15. Mai 2018 15:02 To: [email protected] Subject: [EXTERNALLY SPOOFED] Re: Import in Groovy-script fails From: [email protected] [mailto:[email protected]] On Behalf Of Hardy Koebe > When I use "Execute groovy script" build step, I get another error: > > [GROOVY WARNING] Groovy executable is NULL, please check your Groovy > configuration, trying fallback 'groovy' instead. > The system cannot find the file specified In your Jenkins configuration (Manage Jenkins -> Global Tool Configuration), you need to setup at least one Groovy installation, which you can then select in your Execute Groovy step. Bye... Dirk -- 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 [email protected]. To view this discussion on the web visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_msgid_jenkinsci-2Dusers_B72789CA02EBE34A84137E59D4E4B6DD8D6DD761-2540excg2010dg-2Dlis2.orbotech.org&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=9mmBr6Ma_Wnv5sf3GYDDU9zcDylvb7rT12C4pXFWcts&s=4jy7avobp3Kw1_DPAHvlnBYJ6bjUi55h_8bomc_ycDU&e=. For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwIFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=9mmBr6Ma_Wnv5sf3GYDDU9zcDylvb7rT12C4pXFWcts&s=7ZdKIwXnjWY9IVRwPS3ly9BmofwR53h9KHiIssv23Ss&e=. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/SN6PR15MB2416A5EBB1E886341596EBD3AA930%40SN6PR15MB2416.namprd15.prod.outlook.com. For more options, visit https://groups.google.com/d/optout. ==================================================================================================== This email was sent to you from AUTOMATED SYSTEMS or NON-ORBOTECH ORIGINS. If you consider this to be a Suspicious email or a Phishing attempt, please contact [email protected]. ==================================================================================================== -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/B72789CA02EBE34A84137E59D4E4B6DD8D6E4E77%40excg2010dg-lis2.orbotech.org. For more options, visit https://groups.google.com/d/optout.
