Update Sonar settings and SCM details in project config
Added `sonar.sourceEncoding` and updated Sonar Maven plugin to a specific version for improved compatibility. Adjusted SCM values to reflect the correct repository URLs under the `thischwa` namespace.
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ sonarcloud_scan:
|
|||||||
dependencies:
|
dependencies:
|
||||||
- build
|
- build
|
||||||
script:
|
script:
|
||||||
- mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
|
- mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar:5.1.0.4751 \
|
||||||
-Dsonar.projectKey=thischwa_CloudflareDNS-java
|
-Dsonar.projectKey=thischwa_CloudflareDNS-java
|
||||||
only:
|
only:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
|
|||||||
@@ -43,12 +43,13 @@
|
|||||||
<!-- sonarqube -->
|
<!-- sonarqube -->
|
||||||
<sonar.organization>thischwa</sonar.organization>
|
<sonar.organization>thischwa</sonar.organization>
|
||||||
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
|
||||||
|
<sonar.sourceEncoding>${file.encoding}</sonar.sourceEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<developerConnection>scm:git:git@gitlab.com:ths6435116/CloudflareDNS-java.git</developerConnection>
|
<developerConnection>scm:git:git@gitlab.com:thischwa/CloudflareDNS-java.git</developerConnection>
|
||||||
<connection>scm:git:git@gitlab.com:ths6435116/CloudflareDNS-java.git</connection>
|
<connection>scm:git:git@gitlab.com:thischwa/CloudflareDNS-java.git</connection>
|
||||||
<url>https://gitlab.com/ths6435116/CloudflareDNS-java</url>
|
<url>https://gitlab.com/thischwa/CloudflareDNS-java</url>
|
||||||
<tag>HEAD</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</scm>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user