Open prolificcoder opened 6 years ago
hey I am trying to do the same how did you generate the report using xcov I am having some issues in generating it [19:21:49]: Unable to find any .xccoverage file. [19:21:49]: Make sure you have enabled 'Gather code coverage' setting on your scheme settings. [19:21:49]: Alternatively you can provide the full path to your .xccoverage file.
I did few things
I made more progress than you but i am still not there yet :|
I got the report now I am now trying to integrate it with sonarqube
@yashwanth777 Can you please outline the steps to get coverage shown in Jenkins through Cobertura (which i think expects xml format)
@yashwanth777 Interested in that too
@yashwanth777 please share info :)
@gustanas ;)
I got the report now I am now trying to integrate it with sonarqube
hey, how did you generate the report using xcov, i still have problem: [13:52:10]: [36m$ xcodebuild -showBuildSettings -workspace fastlaneDemo.xcworkspace -scheme fastlaneDemo[0m [13:52:12]: [31mUnable to find any .xccoverage file.[0m [13:52:12]: [31mMake sure you have enabled 'Gather code coverage' setting on your scheme settings.[0m [13:52:12]: [31mAlternatively you can provide the full path to your .xccoverage file.[0m can you help me?
it would be nice to have option for cobertura xml as result https://github.com/fastlane-community/xcov/issues/160 to allow to use https://plugins.jenkins.io/cobertura
or find some other plugin to publish json generated with option json_report: true
2. legacy_support:xccoverage
h
I got the report now I am now trying to integrate it with sonarqube
Hello, my brother, how to resolve the issue? i hit the issue too.
I've found a solution to this issue by using https://github.com/a7ex/xcresultparser instead of xcov
.
From my Fastfile I'm running:
system("xcresultparser -o cobertura #{lane_context[SharedValues::SCAN_GENERATED_XCRESULT_PATH]} > test_output/cobertura.xml")
Apologize if this has been answered or known already. I tried searching through other documentation and issues but haven't found a solution yet.
We are using Jenkins with fastlane and able to generate code coverage with xcov. I can see the report.json file being generated. Now I would like this report to be integrated within Jenkins something like this: ^Is a report from corbertura and slather. Is it possible to do this with xcov.
I prefer not to use Danger because it seems to be adding more complexity into the tool set. Ours is a GitHub enterprise so something like coveralls doesn't work as well.