Contributions
Re: Reg: Unable to run my Groovy script from Jenkins.
Hi Anastasia, I have same issue and but I don't want to place my project sepcific groovy library under /bin/script folder. Instead, I am placing it under projectDir\groovy_scripts folder and setting this Script Library path inside my setup Script in project level (below code). While running locally, it calls the functions inside my script library without any error. but when I try to run it from Jenkins, I see below error setup Script def scriptLibrary = context.expand('${projectDir}')+"\\groovy_scripts" log.info "${header} Setting project Groovy script library to "+scriptLibrary project.setScriptLibrary(scriptLibrary) Jenkins Console Error 16:59:18,316 ERROR [SoapUI] An error occurred [startup failed: Script1.groovy: 2: unable to resolve class sqlQueryReturnValue @ line 2, column 28. def sqlQueryReturnValue = new sqlQueryReturnValue() Can you help to solve this issue?6 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.6KViews0likes2Comments