Skip to content

Commit fbc1ffa

Browse files
committed
Move SonarCloud analysis to Codeberg #32
Signed-off-by: Mārtiņš Avots <martins.avots@splitcells.net>
1 parent 44fe503 commit fbc1ffa

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

bin/repos.test.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,15 @@ cd "$reposFolder/net.splitcells.network/projects/net.splitcells.network.system"
4040
cd "$reposFolder/net.splitcells.network" # Creating reports is done last, so the caller can use the reports.
4141
# Integration tests need to be enabled here as well, as verify does not only start the source code check, but also reruns the test and therefore the coverage.
4242
# The JaCoCo report is created only for the main report, as otherwise the Distro repo causes errors.
43-
mvn verify site -Dtest_codecov=1 -Dsource_code_check=1 -Dtest.groups=testing_unit,testing_integration -DexcludedGroups="experimental_test"
43+
# `-Dsonar.inclusions=src/main/**,bin/*` does not seem to work.`
44+
mvn verify site \
45+
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
46+
-Dtest_codecov=1 \
47+
-Dsource_code_check=1 \
48+
-Dtest.groups=testing_unit,testing_integration \
49+
-DexcludedGroups="experimental_test" \
50+
-Dsonar.projectKey=www-splitcells-net_net.splitcells.network \
51+
-Dsonar.test.exclusions=src/main/java/** \
52+
-Dsonar.organization=www-splitcells-net \
53+
-Dsonar.host.url=https://sonarcloud.io
4454
bin/repos.verify

0 commit comments

Comments
 (0)