Skip to content

Commit f525847

Browse files
authored
Move sonar properties from workflow to pom.xml and upgrade to newer sonarscanner (#134)
mvn sonar:sonar -> mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
1 parent 2835bcc commit f525847

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:gateway
1513
dockerImage: docker.io/gridsuite/gateway
1614
dockerUsername: gridsuiteci
1715
eventType: gateway_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:gateway
1715
dockerImage: docker.io/gridsuite/gateway
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:gateway
2018
dockerImage: docker.io/gridsuite/gateway
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
@@ -46,6 +46,8 @@
4646

4747
<nimbus-jose-jwt.version>8.14</nimbus-jose-jwt.version>
4848
<oauth2-oidc-sdk.version>7.3</oauth2-oidc-sdk.version>
49+
<sonar.organization>gridsuite</sonar.organization>
50+
<sonar.projectKey>org.gridsuite:gateway</sonar.projectKey>
4951
</properties>
5052

5153
<build>

0 commit comments

Comments
 (0)