From fc7952f8a2ed8bf3452908231d1c1cd141828263 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sat, 7 Mar 2026 18:27:11 +0100 Subject: [PATCH] Update SonarCloud configuration: specify `develop` as main branch in `pom.xml` and streamline workflow in `first-test.yml`. --- .woodpecker/first-test.yml | 4 +--- pom.xml | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker/first-test.yml b/.woodpecker/first-test.yml index 33ad699..4e932b6 100644 --- a/.woodpecker/first-test.yml +++ b/.woodpecker/first-test.yml @@ -15,6 +15,4 @@ steps: SONAR_TOKEN: from_secret: sonar_token commands: - - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=th-schwarz_CloudflareDNS-java -Dsonar.token=$SONAR_TOKEN - when: - - branch: develop + - mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=th-schwarz_CloudflareDNS-java -Dsonar.token=$SONAR_TOKEN \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2debf85..3db4998 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,7 @@ ${file.encoding} th-schwarz_CloudflareDNS-java CloudflareDNS-java + develop develop src/test/java/**/*