Мои тесты прекрасно запускаются из среды разработки, но когда я пытаюсь построить их на Дженкинсе, вылетает вот такая ошибка. Кто-нибудь сталкивался с подобным?
Started by user anonymous
Building in workspace C:\Users\testUser\.jenkins\workspace\portal-web-tests
Querying for remote changeset at '$/AutomationTests' as of 'D2018-03-22T14:38:47Z'...
Query result is: Changeset #21486 by 'DEVELOPMENT\testUser' on '2018-03-19T21:21:26Z'.
Checking if there exists a mapping for C:\Users\testUser\.jenkins\workspace\portal-web-tests...yes, in workspace 'Hudson-portal-web-tests-MASTER'.
Downloading list of workspaces from
Getting version 'C21486' to 'C:\Users\testUser\.jenkins\workspace\portal-web-tests'...
Finished getting version 'C21486'. Retrieved 0 resources.
[Gradle] - Launching build.
[portal-web-tests] $ cmd.exe /C "C:\Tools\gradle-4.2.1\bin\gradle.bat clean test && exit %%ERRORLEVEL%%"
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
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 FileHasher using BuildSessionScopeServices.createFileSnapshotter().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 6s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Recording test results
ERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?
Finished: FAILURE