前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Travis CI eval ./gradlew assemble 错误

Travis CI eval ./gradlew assemble 错误

作者头像
HoneyMoose
发布2019-07-15 14:39:49
6390
发布2019-07-15 14:39:49
举报
文章被收录于专栏:CWIKIUSCWIKIUS

问题

在进行 Travis CI 进行集成编译的时候出现错误。

<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 2 of 3.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assemble' not found in root project 'asciidoc-docs'.
* Try:
Run gradlew 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 3 of 3.

具体的错误信息如下:

BUILD FAILED in 8s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 2 of 3.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assemble' not found in root project 'asciidoc-docs'.
* Try:
Run gradlew 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed. Retrying, 3 of 3.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'assemble' not found in root project 'asciidoc-docs'.
* Try:
Run gradlew 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. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
<-------------> 0% WAITINGThe command "eval ./gradlew assemble " failed 3 times.
The command "./gradlew assemble" failed and exited with 1 during .
Your build has been stopped.

问题解决

请确定你的 .travis.yml 文件中有没有 gradlew 有没有 Gradle 的脚本。

你需要在 script 中配置脚本。

(adsbygoogle = window.adsbygoogle || []).push({});

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 问题
  • 问题解决
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档