Jacoco Report generation from command line

Hi

     I have challenge

1. i use teamcity to execute my tests, however my application is running on a different server .

2. i recorded the exec files, transferred the exec files and src into the TeamCity Agent.

3. i request help on how to get the coverage report generated with the available exec files and src folder.

##teamcity[jacocoReport dataPath='report/*.exec' classpath='/src' reportDir='temp/jacocoReport']

i used the following command in build step 'command Line' .. i don't see any error / related message ..

 

 

0
1 comment

Hi Harissh,

 

I answered to you in the other thread you commented on (please, avoid double posting), but I'll add the comment here. Service messages are picked up by the server from the build log. In order for them to take effect, you need to post them, usually via a command line script, but they can be used from any build script that can write to the standard output. More information here: https://confluence.jetbrains.com/display/TCD18/Build+Script+Interaction+with+TeamCity

0

Please sign in to leave a comment.