我正在尝试使用gradle和Jenkins构建我的项目。在运行我的构建时,我似乎找不到此错误的问题。在我看来,詹金斯(Jenkins)正在此目录中查找文件,但找不到该文件。
md.exe /C "C:\Gradle\gradle-4.2\bin\gradle.bat gradlew assemblerelease -b '"C:\Program Files (x86)\Jenkins\workspace\Build (Based off of Android Test 3)\configs\dir1\"' && 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:
The specified build file 'C:\Program Files (x86)\Jenkins\workspace\Build (Based off of Android Test 3)\configs\dir1' is not a file.
* 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 3s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Finished: FAILURE