您好,登錄后才能下訂單哦!
在進行 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 中配置腳本。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。