我无法弄清楚为什么我的报告被跳过了。我的TeamCity CI(8。0。0。0)日志说“167个报告已被删除为过期”。是因为“parseOutOfDate”是假的吗? http://confluence.jetbrains.com/display/TCD7/Build+Script+Interaction+with+TeamCity
TeamCity BuildLog
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
答案 0 :(得分:5)
这是文档所说的:
该插件仅考虑自构建开始以来更新的文件(通过上一个修改文件时间戳确定)。
有两种方法可以设置报告处理。通过build features或service messages。
如果通过服务消息执行此操作,则可以将parseOutOfDate='true'
设置为忽略文件上的时间戳。
##teamcity[importData type='typeID' path='<path>' parseOutOfDate='true']
答案 1 :(得分:0)
自己找到我的问题。
我在配置的构建代理上查看了我的代理工作目录,如“/ Applications / buildAgent / work /”。任何报告工具(QA-Tool)都会在自己的报告文件中自我报告。我开始使用phing处理所有报告。我在自己的构建步骤“命令行”中触发phing,该命令行设置了这一行:“phing”。看看phing。
我还为selenium和phpLoc编写了一些扩展,请查看:github.com/linslin