Issue with jenkin gradle build


I installed jenkin on window and my git repo is in linux box.

[ora-jenkins-demo] $ cmd.exe /C “gradle.bat build -x test && exit %%ERRORLEVEL%%”

FAILURE: Build failed with an exception. * What went wrong: Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory(). > Could not create service of type CrossBuildFileHashCache using BuildSessionScopeServices.createCrossBuildFileHashCache(). * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at BUILD FAILED in 2s Build step ‘Invoke Gradle script’ changed build result to FAILURE Build step ‘Invoke Gradle script’ marked build as failure Finished: FAILURE