Artifacts path coverage.txt not found
Hi,
I am using TeamCity Professional 6.5 build 17795
I have a single build step that cleans and builds from source using Ant using the following targets: "clean-build, junit"
I have enabled code coverage on this step with default values from UI.
In the build.log I am seeing the following:
[11:40:30]: compile
[11:40:30]: [compile] javac
[11:40:30]: [javac] C:\Program Files\TeamCity\buildAgent\work\c284fe8dd02fe536\build.xml:24: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[11:40:31]: compile
[11:40:31]: [compile] javac
[11:40:31]: [javac] C:\Program Files\TeamCity\buildAgent\work\c284fe8dd02fe536\build.xml:24: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[11:40:35]: Publishing artifacts
[11:40:35]: [Publishing artifacts] Artifacts path coverage.ec not found
[11:40:35]: [Publishing artifacts] Artifacts path coverage.txt not found
[11:40:35]: [Publishing artifacts] Artifacts path coverage/coverage.zip not found
[11:40:35]: Failed to extract Emma coverage statistics from the coverage.txt, due to error: java.io.FileNotFoundException: C:\Program Files\TeamCity\buildAgent\work\c284fe8dd02fe536\coverage.txt (The system cannot find the file specified)
[11:40:40]: Build finished
I don't see the Emma instrumentation taking place.
The junit task in build.xml is configured with fork="true" forkmode="once"
I am not sure what else I need to configure. Not clear from http://confluence.jetbrains.net/display/TCD4/Code+Coverage
Any advice would be appreciated
Thanks,
Wouter
[11:40:30]: [compile] javac
[11:40:30]: [javac] C:\Program Files\TeamCity\buildAgent\work\c284fe8dd02fe536\build.xml:24: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[11:40:31]: compile
[11:40:31]: [compile] javac
[11:40:31]: [javac] C:\Program Files\TeamCity\buildAgent\work\c284fe8dd02fe536\build.xml:24: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[11:40:35]: Publishing artifacts
[11:40:35]: [Publishing artifacts] Artifacts path coverage.ec not found
[11:40:35]: [Publishing artifacts] Artifacts path coverage.txt not found
[11:40:35]: [Publishing artifacts] Artifacts path coverage/coverage.zip not found
[11:40:35]: Failed to extract Emma coverage statistics from the coverage.txt, due to error: java.io.FileNotFoundException: C:\Program Files\TeamCity\buildAgent\work\c284fe8dd02fe536\coverage.txt (The system cannot find the file specified)
[11:40:40]: Build finished
I don't see the Emma instrumentation taking place.
The junit task in build.xml is configured with fork="true" forkmode="once"
I am not sure what else I need to configure. Not clear from http://confluence.jetbrains.net/display/TCD4/Code+Coverage
Any advice would be appreciated
Thanks,
Wouter
Please sign in to leave a comment.