TeamCity Ant Junit 2 reports skipped as out-of-date

放肆的年华 提交于 2019-12-06 12:29:39

This is what the documentation says:

The plugin takes into account only the files updated since the build start (determined by means of the last modification file timestamp).

There are two ways to setup report processing. Through the build features or through service messages. If you do it through service messages you can set parseOutOfDate='true' to ignore the timestamp on the file.

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

Make sure you have synchronized time on your server. In my case (Debian 8.5) same issue was fixed by setting up ntpdate daily cron:

sudo apt-get install ntpdate
sudo ln -s /usr/sbin/ntpdate-debian /etc/cron.daily/ntpdate-debian
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!