File tree 2 files changed +3
-3
lines changed
java/org/sonar/plugins/swift/coverage
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public final class SwiftCoberturaSensor implements Sensor {
38
38
private static final Logger LOGGER = LoggerFactory .getLogger (SwiftCoberturaSensor .class );
39
39
40
40
public static final String REPORT_PATTERN_KEY = SwiftPlugin .PROPERTY_PREFIX + ".coverage.reportPattern" ;
41
- public static final String DEFAULT_REPORT_PATTERN = "sonar-reports/coverage*.xml" ;
41
+ public static final String DEFAULT_REPORT_PATTERN = "sonar-reports/coverage-swift *.xml" ;
42
42
43
43
private final ReportFilesFinder reportFilesFinder ;
44
44
Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ if [ "$unittests" = "on" ]; then
256
256
257
257
# Put default xml files with no tests and no coverage...
258
258
echo " <?xml version='1.0' encoding='UTF-8' standalone='yes'?><testsuites name='AllTestUnits'></testsuites>" > sonar-reports/TEST-report.xml
259
- echo " <?xml version='1.0' ?><!DOCTYPE coverage SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-03.dtd'><coverage><sources></sources><packages></packages></coverage>" > sonar-reports/coverage.xml
259
+ echo " <?xml version='1.0' ?><!DOCTYPE coverage SYSTEM 'http://cobertura.sourceforge.net/xml/coverage-03.dtd'><coverage><sources></sources><packages></packages></coverage>" > sonar-reports/coverage-swift .xml
260
260
261
261
echo -n ' Running tests'
262
262
buildCmd=(xcodebuild clean build test)
@@ -308,7 +308,7 @@ if [ "$unittests" = "on" ]; then
308
308
echo " ${slatherCmd[@]} "
309
309
310
310
runCommand /dev/stdout " ${slatherCmd[@]} "
311
- mv sonar-reports/cobertura.xml sonar-reports/coverage.xml
311
+ mv sonar-reports/cobertura.xml sonar-reports/coverage-swift .xml
312
312
fi
313
313
314
314
# SwiftLint
You can’t perform that action at this time.
0 commit comments