我在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中的构建步骤如下所示: