I am using Fastlane for building and testing my ObjC project. I use scan action to run Unit Test cases and slather action to generate Code coverage report. I am able to generate cobertura.xml report using slather action, but unable to publish the report to SonarQube.
I am using SonarQube 6.4 and fastlane 2.64.0.
FastFile
scan(
workspace: "Sample.xcworkspace",
scheme: "SampleTests",
code_coverage: true,
output_types: "html"
)
slather(
cobertura_xml: true,
output_directory: "./reports",
proj: "Sample.xcodeproj",
workspace: "Sample.xcworkspace",
scheme: "SampleTests",
)
sonar
Analysis is published to Sonar but Code Coverage report is not updated. Please let me know where i miss the key.