【问题标题】:Why are my reports skipped? - TeamCity CI为什么我的报告被跳过? - TeamCity CI
【发布时间】:2014-01-08 14:09:57
【问题描述】:

我不知道为什么我的报告被跳过了。我的 TeamCity CI (8.0.x) 日志显示“167 份报告因过期而被跳过”。是因为“parseOutOfDate”是假的吗? http://confluence.jetbrains.com/display/TCD7/Build+Script+Interaction+with+TeamCity

TeamCity 构建日志

Checking for changes
[14:53:22]Checkstyle report watcher
[14:53:22]Watching paths:
[14:53:22]/Applications/buildAgent/work/84ee385a4d5ae77b/www/**
[14:53:22]Publishing internal artifacts
[14:53:22]Sending build.start.properties.gz file
[14:53:22]Sending build.start.properties.gz file
[14:53:22]Clearing temporary directory: /Applications/buildAgent/temp/buildTmp
[14:53:22]Checkout directory: /Applications/buildAgent/work/84ee385a4d5ae77b
[14:53:22]JSLint report watcher
[14:53:22]Watching paths:
[14:53:22]/Applications/buildAgent/work/84ee385a4d5ae77b/www/**
[14:53:22]Updating sources: server side checkout
[14:53:22]Building incremental patch for VCS root: cp-edna-hybrid Repository
[14:53:22]FindBugs report watcher
[14:53:22]Watching paths:
[14:53:22]/Applications/buildAgent/work/84ee385a4d5ae77b/www/**
[14:53:22]Repository sources transferred
[14:53:23]Checkstyle report watcher
[14:53:23]167 reports found for paths:
[14:53:23]/Applications/buildAgent/work/84ee385a4d5ae77b/www/**
[14:53:23]167 reports skipped as out-of-date
[14:53:23]JSLint report watcher
[14:53:23]167 reports found for paths:
[14:53:23]/Applications/buildAgent/work/84ee385a4d5ae77b/www/**
[14:53:23]167 reports skipped as out-of-date
[14:53:23]FindBugs report watcher
[14:53:23]167 reports found for paths:
[14:53:23]/Applications/buildAgent/work/84ee385a4d5ae77b/www/**
[14:53:23]167 reports skipped as out-of-date
[14:53:23]Publishing internal artifacts
[14:53:23]Sending build.finish.properties.gz file
[14:53:23]Sending build.finish.properties.gz file
[14:53:23]Publishing artifacts (2s)
[14:53:23]Collecting files to publish: [/Applications/buildAgent/work/84ee385a4d5ae77b  => PublishDir]
[14:53:23]Publishing [] using [ArtifactsCachePublisher]
[14:53:23]Publishing [] using [WebPublisher]
[14:53:25]Build finished

【问题讨论】:

  • 你能在哪里解决这个问题?我现在有同样的问题here
  • 嘿 m8,是的,我做到了。查看您的代理工作目录,例如 "/Applications/buildAgent/work/" 。任何报告工具(QA-Tool)都会在自己的报告文件中自行报告。我现在使用 phing 来处理所有报告。我在自己的构建步骤“命令行”中触发 phing,该步骤设置了这一行:“phing ”。看一下phing。我还为 selenium 和 phpLoc 编写了一些扩展,请查看:github.com/linslin

标签: continuous-integration teamcity teamcity-8.0


【解决方案1】:

文档是这样说的:

插件仅考虑自构建开始后更新的文件(由最后修改文件时间戳确定)。

有两种方法可以设置报表处理。通过build features 或通过service messages。 如果您通过服务消息执行此操作,您可以设置 parseOutOfDate='true' 以忽略文件上的时间戳。

##teamcity[importData type='typeID' path='<path>' parseOutOfDate='true']

【讨论】:

    【解决方案2】:

    自己发现了我的问题。

    我查看了我的代理工作目录,例如配置的构建代理上的“/Applications/buildAgent/work/”。任何报告工具(QA-Tool)都会在自己的报告文件中自行报告。我开始使用 phing 来处理所有报告。我在自己的构建步骤“命令行”中触发 phing,它设置了这一行:“phing”。看看phing

    我还为 selenium 和 phpLoc 编写了一些扩展,请查看:github.com/linslin

    【讨论】:

      猜你喜欢
      • 2017-03-12
      • 1970-01-01
      • 1970-01-01
      • 2021-11-07
      • 1970-01-01
      • 2017-08-25
      • 1970-01-01
      • 1970-01-01
      • 2021-03-19
      相关资源
      最近更新 更多