Remove unused SonarQube configs and cache setup.
Cleaned up commented-out SonarQube configuration from `pom.xml` and removed redundant cache settings in `.gitlab-ci.yml`. This simplifies the build configuration and eliminates unused or unnecessary definitions.
This commit is contained in:
+5
-9
@@ -43,10 +43,6 @@ on_commits:
|
||||
- echo "Running tests..."
|
||||
- cd ${GITLAB_CLONE_DIR}
|
||||
- mvn test
|
||||
cache:
|
||||
key: "${CI_JOB_NAME}"
|
||||
paths:
|
||||
- .maven-cache
|
||||
only:
|
||||
- /^feature.*$/
|
||||
- merge_request
|
||||
@@ -59,12 +55,12 @@ sonarcloud_scan:
|
||||
image:
|
||||
name: sonarsource/sonar-scanner-cli:latest
|
||||
entrypoint: [ "" ]
|
||||
cache:
|
||||
key: "${CI_JOB_NAME}"
|
||||
paths:
|
||||
- .maven-cache
|
||||
script:
|
||||
- sonar-scanner -Dsonar.projectKey=${SONAR_PROJECT_KEY} -Dsonar.organization=${SONAR_ORGANIZATION} -Dsonar.token=${SONAR_TOKEN} -Dsonar.exclusions=docs/** -Dsonar.java.binaries=target/classes
|
||||
- sonar-scanner -Dsonar.projectKey=${SONAR_PROJECT_KEY} \
|
||||
-Dsonar.organization=${SONAR_ORGANIZATION} \
|
||||
-Dsonar.token=${SONAR_TOKEN} \
|
||||
-Dsonar.exclusions=docs/** \
|
||||
-Dsonar.java.binaries=target/classes
|
||||
only:
|
||||
- merge_requests
|
||||
- develop
|
||||
|
||||
@@ -21,13 +21,6 @@
|
||||
<project.build.sourceEncoding>${file.encoding}</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>${file.encoding}</project.reporting.outputEncoding>
|
||||
|
||||
<!-- sonarQube cloud -->
|
||||
<!-- <sonar.organization>th-schwarz</sonar.organization>-->
|
||||
<!-- <sonar.host.url>https://sonarcloud.io</sonar.host.url>-->
|
||||
<!-- <sonar.sourceEncoding>${file.encoding}</sonar.sourceEncoding>-->
|
||||
<!-- <sonar.exclusions>docs/**/*</sonar.exclusions>-->
|
||||
<!-- <sonar.test.exclusions>src/test/java/**/*</sonar.test.exclusions>-->
|
||||
|
||||
<!-- checkstyle -->
|
||||
<checkstyle.version>10.21.3</checkstyle.version>
|
||||
<checkstyle.plugin.version>3.6.0</checkstyle.plugin.version>
|
||||
|
||||
Reference in New Issue
Block a user