1

我在 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

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

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

PS我在 TeamCity 中的构建步骤如下所示: 在此处输入图像描述

4

1 回答 1

3

目前,TeamCity 仅支持 IntelliJ IDEA 支持的集中与 Java 相关的检查。请为相应的 TeamCity功能请求投票。

于 2012-08-21T15:26:00.310 回答