【问题标题】:Android IntelliJ IDEA project and TeamCity (Inspections)Android IntelliJ IDEA 项目和 TeamCity(检查)
【发布时间】:2012-08-21 10:36:29
【问题描述】:

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

【问题讨论】:

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


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2016-10-22
      • 1970-01-01
      • 1970-01-01
      • 2013-05-12
      • 2016-02-07
      • 1970-01-01
      • 2015-01-13
      • 2016-01-15
      • 1970-01-01
      相关资源
      最近更新 更多