zoukankan      html  css  js  c++  java
  • 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 中配置脚本。

  • 相关阅读:
    【转】PHP foreach 小结
    【转】div,p,span,ul,li,dl,dt,dd,a,img,h,strong,em用法
    【转】网页制作中的CSS+DIV:dl,dt,dd分别表示什么意思啊?请说明啊,谢谢有什么功能?
    【转】[教程] CSS入门3:如何插入CSS样式
    PHP输出多个空格
    【转】浅谈HTTP中Get与Post的区别
    HDOJ 2433 Counter Strike 逆序对 线段树
    hdu 4193 Nonnegative Partial Sums 单调队列
    vijos 1750 建房子 单调队列
    poj 2155 Matrix 二维树状数组
  • 原文地址:https://www.cnblogs.com/huyuchengus/p/11182933.html
Copyright © 2011-2022 走看看