I have a task that generates test results immediately. They are ignored by the JUnit parser. (this is a Mac related issue)
14-Feb-2017 18:04:41 Starting task 'JUnit Parser' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit' 14-Feb-2017 18:04:41 Parsing test results under /Users/aslaski/repos/bamboo/bamboo-homes/8085/xml-data/build-dir/DRAG-DRAG-JOB1... 14-Feb-2017 18:04:41 File /Users/aslaski/repos/bamboo/bamboo-homes/8085/xml-data/build-dir/DRAG-DRAG-JOB1/TEST.xml was ignored because it was modified (2017-02-14 18:04:41.000) before task started (2017-02-14 18:04:41.248) 14-Feb-2017 18:04:41 Failing task since test cases were expected but none were found.
Workaround
Run your agents (or server if you use local agents) with -Dbamboo.fs.timestamp.precision=1000 system property.
Form Name |
---|
You can use bamboo.fs.timestamp.precision=1000 as a workaround until the proper fix ships.