溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Travis CI eval ./gradlew assemble 錯(cuò)誤

發(fā)布時(shí)間:2020-06-16 15:59:46 來(lái)源:網(wǎng)絡(luò) 閱讀:362 作者:HoneyMoose 欄目:軟件技術(shù)

問(wèn)題

在進(jìn)行 Travis CI 進(jìn)行集成編譯的時(shí)候出現(xiàn)錯(cuò)誤。

<------------->?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.

具體的錯(cuò)誤信息如下:

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 CI eval ./gradlew assemble 錯(cuò)誤

?

問(wèn)題解決

請(qǐng)確定你的 .travis.yml 文件中有沒(méi)有 gradlew 有沒(méi)有 Gradle 的腳本。

你需要在?script 中配置腳本。


向AI問(wèn)一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI