专栏首页CWIKIUSTravis CI eval ./gradlew assemble 错误
原创

Travis CI eval ./gradlew assemble 错误

问题

在进行 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 中配置脚本。

原创声明,本文系作者授权云+社区发表,未经许可,不得转载。

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

我来说两句

0 条评论
登录 后参与评论

相关文章

  • Travis CI eval ./gradlew assemble 错误

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

    HoneyMoose
  • Mockito 2 关于打标(stubbing)

    https://github.com/cwiki-us-demo/mockito-demo-java/blob/master/src/test/java/com...

    HoneyMoose
  • Confluence 6 Oracle 创建数据库用户

    https://www.cwiki.us/display/CONFLUENCEWIKI/Database+Setup+for+Oracle

    HoneyMoose
  • Travis CI eval ./gradlew assemble 错误

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

    HoneyMoose
  • PyTorch的Broadcasting 和 Element-Wise 操作 | PyTorch系列(八)

    欢迎回到这个关于神经网络编程的系列。在这篇文章中,我们将通过学习 element-wise 的操作来扩展我们的知识,而不仅仅是 reshape 操作。

    AI算法与图像处理
  • 导数和微分(一)

    李小白是一只喵
  • 虚拟机Linux忘记密码的情况下,修改root或其他用户密码

    linux管理员忘记root密码,需要进行找回操作。 注意事项:本文基于centos7环境进行操作,由于centos的版本是有差异的,继续之前请确定好版本。

    良月柒
  • 技术 | 玩玩rollup与flow,感受一下“大自然”的魅力

    最近撸了两个项目,全程用了rollup,flow,谈一下自己的感受,极力的推荐大家尝试。说起来,用它们还是从Vue换构建工具加入flow开始,就一直想大规模的应...

    icepy
  • 从零实现一个React(四):异步的setState

    在上一篇文章中,我们实现了diff算法,性能有非常大的改进。但是文章末尾也指出了一个问题:按照目前的实现,每次调用setState都会触发更新,如果组件内执行这...

    前端迷
  • FileZilla,WinSCP,VNC,putty,mstsc区别

    FileZilla是ftp用的,WinSCP是连接Windows和Linux的,VNC是Windows以图形界面访问Linux或者mac的,putty是Wind...

    wuweixiang

扫码关注云+社区

领取腾讯云代金券