Android IntelliJ IDEA项目和TeamCity(检查)

时间:2012-08-21 10:36:30

标签: android intellij-idea teamcity teamcity-7.0 inspection

我在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项目。

任何人都有另外一个想法可能是错的?或者在这种情况下该怎么做?

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

1 个答案:

答案 0 :(得分:3)

目前,TeamCity仅支持IntelliJ IDEA支持的与Java相关的检查。请投票支持相应的TeamCity feature request