Skip to content

Commit 24769b7

Browse files
authored
Move sonar properties from workflow to pom.xml and upgrade to newer sonarscanner (#148)
mvn sonar:sonar -> mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
1 parent 21b1b34 commit 24769b7

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ on:
88

99
jobs:
1010
build:
11-
uses: powsybl/github-ci/.github/workflows/build-backend-app-generic.yml@5e13dcb03778dc9a47bd0adbd84c48392b32cd46
11+
uses: powsybl/github-ci/.github/workflows/build-backend-app-generic.yml@39565de6fd7d394ed76fa09e5197ffb1350ff1e6
1212
with:
13-
sonarOrganization: gridsuite
14-
sonarProjectKey: org.gridsuite:filter-server
1513
dockerImage: docker.io/gridsuite/filter-server
1614
dockerUsername: gridsuiteci
1715
eventType: filter_server_updated

.github/workflows/patch.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ on:
99

1010
jobs:
1111
run-patch:
12-
uses: powsybl/github-ci/.github/workflows/patch-backend-app-generic.yml@5e13dcb03778dc9a47bd0adbd84c48392b32cd46
12+
uses: powsybl/github-ci/.github/workflows/patch-backend-app-generic.yml@39565de6fd7d394ed76fa09e5197ffb1350ff1e6
1313
with:
1414
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
15-
sonarOrganization: gridsuite
16-
sonarProjectKey: org.gridsuite:filter-server
1715
dockerImage: docker.io/gridsuite/filter-server
1816
dockerUsername: gridsuiteci
1917
releaseVersion: ${{ github.event.inputs.releaseVersion }}

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ on:
1212

1313
jobs:
1414
run-release:
15-
uses: powsybl/github-ci/.github/workflows/release-backend-app-generic.yml@5e13dcb03778dc9a47bd0adbd84c48392b32cd46
15+
uses: powsybl/github-ci/.github/workflows/release-backend-app-generic.yml@39565de6fd7d394ed76fa09e5197ffb1350ff1e6
1616
with:
1717
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
18-
sonarOrganization: gridsuite
19-
sonarProjectKey: org.gridsuite:filter-server
2018
dockerImage: docker.io/gridsuite/filter-server
2119
dockerUsername: gridsuiteci
2220
releaseVersion: ${{ github.event.inputs.releaseVersion }}

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
<string-template.version>4.3.1</string-template.version>
4848
<liquibase-hibernate-package>org.gridsuite.filter.server</liquibase-hibernate-package>
4949
<sonar.coverage.exclusions>**/migrations/**/*</sonar.coverage.exclusions>
50+
<sonar.organization>gridsuite</sonar.organization>
51+
<sonar.projectKey>org.gridsuite:filter-server</sonar.projectKey>
5052
</properties>
5153

5254
<build>

0 commit comments

Comments
 (0)