0

我不知道为什么我的报告被跳过了。我的 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
4

2 回答 2

6

这就是文档所说的:

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

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

##teamcity[importData type='typeID' path='<path>' parseOutOfDate='true']
于 2014-10-28T06:24:33.540 回答
0

自己发现了我的问题。

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

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

于 2014-08-04T13:25:41.400 回答