gpt4 book ai didi

Android IntelliJ IDEA 项目和 TeamCity(检查)

转载 作者:行者123 更新时间:2023-11-29 18:08:35 27 4
gpt4 key购买 nike

我在 IntelliJ IDEA (11.1.3) 中为我的 Android 项目配置检查。我想在每次提交时在我的 CI TeamCity 服务器 (7.0.1 (build 21326)) 上运行此检查检查,但它们不起作用。每次我收到错误:“检查未收集”并且构建失败。在构建日志中我有:

...in directory: /opt/TeamCity/buildAgent1/work/9bbb251d174995
[01:00:27]: Starting up IntelliJ IDEA 11.0.2 ...done.
[01:00:57]: Opening project...done.
[01:00:57]: Failed to load profile from '/opt/TeamCity/buildAgent1/work/9bbb251d174995/.idea/inspectionProfiles/Project_Default.xml'
[01:00:58]: Initializing project...
[01:00:58]: Process exited with code 1
[01:00:58]: Inspection output
[01:00:58]: [Inspection output] Starting up IntelliJ IDEA 11.0.2 ...done.
[01:00:58]: [Inspection output] Opening project...done.
[01:00:58]: [Inspection output] Failed to load profile from '/opt/TeamCity/buildAgent1/work/9bbb251d174995/.idea/inspectionProfiles/Project_Default.xml'
[01:00:58]: [Inspection output] Initializing project...
[01:00:58]: extractDescriptions: /opt/TeamCity/buildAgent1/temp/buildTmp/inspection963669486392887894result/.descriptions.xml not found
[01:00:58]: Publishing artifacts
[01:00:58]: [Publishing artifacts] Paths to publish: [/opt/TeamCity/buildAgent1/temp/agentTmp/build_stages.txt=>.teamcity/perfmon/]
[01:00:58]: [Publishing artifacts] Sending files
[01:00:58]: Publishing artifacts
[01:00:58]: [Publishing artifacts] Paths to publish: [/opt/TeamCity/buildAgent1/system/perfmon/temp/perfmon.csv => .teamcity/perfmon/]
[01:00:58]: [Publishing artifacts] Sending files
[01:00:58]: Publishing internal artifacts
[01:00:58]: [Publishing internal artifacts] Sending build.finish.properties.gz file
[01:00:58]: Total: 0 (+0 -0) Errors: 0 (+0 -0)
[01:00:58]: Build finished

我想问题是 bundle 在 IntelliJ IDEA 的 TeamCity 实例中没有任何插件,包括 Android 插件。因此它无法识别我的 Android 项目。

任何人都有其他想法可能是错的?或者在这种情况下该怎么办?

P.S. 我在 TeamCity 中的构建步骤如下所示: enter image description here

最佳答案

目前,TeamCity 仅支持 IntelliJ IDEA 支持的集合中与 Java 相关的检查。请为对应的TeamCity投票 feature request .

关于Android IntelliJ IDEA 项目和 TeamCity(检查),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12053093/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com