1、闲来无事配置 Jenkins+Gradle+GItAndroid 自动打包,构建之后只是下载了 git 服务器上的源码
但并未打包成功。尝试多种方法一直无法解决。
Android sdk/jdk/gradle 环境变量都设置了。
jenkins 中 job 配置如下图:

console 中日志:

Starting a Gradle Daemon, 1 busy and 1 incompatible and 6 stopped Daemons could not be reused, use --status for details
FAILURE: Build failed with an exception.

* What went wrong:
Task 'clean' not found in root project 'test'.

* Try:
Run gradle tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 11.579 secs
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Finished: FAILURE


↙↙↙阅读原文可查看相关链接,并与作者交流