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 So, there seems to be another problem with the configuration of the Groovy script plugin. But I wasn't able to figure out, where to configure the plugin. There's nothing to see in the Jenkins configuration. Any suggestions? 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 13:49 To: [email protected] Subject: [EXTERNALLY SPOOFED] Re: Import in Groovy-script fails From: [email protected] [mailto:[email protected]] On Behalf Of Hardy Koebe > 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. The Groovy Script Console is equivalent to Execute System Groovy Script step in a job. Those scripts run directly in your Jenkins master JVM. What you probably want here is a simple "Execute Groovy script" (without the "System") step in a job. HTH... 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 mailto:[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_B72789CA02EBE34A84137E59D4E4B6DD8D6D08BE-2540excg2010dg-2Dlis1.orbotech.org-3Futm-5Fmedium-3Demail-26utm-5Fsource-3Dfooter&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=zSx67R_YwLKPG8Ja9-mwfbKIsZni3tJli8DLpBNWZbs&s=zU-RomVLGeFwKpw_xh5I_g9cVxpg0t6h3YMGUYiSqa0&e=. For more options, visit https://urldefense.proofpoint.com/v2/url?u=https-3A__groups.google.com_d_optout&d=DwMFaQ&c=ZgVRmm3mf2P1-XDAyDsu4A&r=TsKycyisPP_6FVCeETRooIdY_8hdAsXoxwbvHso_TaI&m=zSx67R_YwLKPG8Ja9-mwfbKIsZni3tJli8DLpBNWZbs&s=h2_dLNptcOKxnHVvm1Gl_HjdsVrn50vYCQw14Xpe8BM&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/SN6PR15MB24169B2C583A66D731C4A8C3AA930%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/B72789CA02EBE34A84137E59D4E4B6DD8D6DD761%40excg2010dg-lis2.orbotech.org. For more options, visit https://groups.google.com/d/optout.
