Skip to content

Commit 0591406

Browse files
committed
Move sonar properties from workflow to pom.xml
Signed-off-by: HARPER Jon <[email protected]>
1 parent a5e6792 commit 0591406

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@8e3547c7f6d98c23095896b6097294f22100b122
11+
uses: powsybl/github-ci/.github/workflows/build-backend-app-generic.yml@8e990dd28cbccff180f322903ac1e3131ab3632a
1212
with:
13-
sonarOrganization: gridsuite
14-
sonarProjectKey: org.gridsuite:dynamic-mapping-server
1513
dockerImage: docker.io/gridsuite/dynamic-mapping-server
1614
dockerUsername: gridsuiteci
1715
eventType: dynamic_mapping_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@8e3547c7f6d98c23095896b6097294f22100b122
12+
uses: powsybl/github-ci/.github/workflows/patch-backend-app-generic.yml@8e990dd28cbccff180f322903ac1e3131ab3632a
1313
with:
1414
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
15-
sonarOrganization: gridsuite
16-
sonarProjectKey: org.gridsuite:dynamic-mapping-server
1715
dockerImage: docker.io/gridsuite/dynamic-mapping-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@8e3547c7f6d98c23095896b6097294f22100b122
15+
uses: powsybl/github-ci/.github/workflows/release-backend-app-generic.yml@8e990dd28cbccff180f322903ac1e3131ab3632a
1616
with:
1717
githubappId: ${{ vars.GRIDSUITE_ACTIONS_APPID }}
18-
sonarOrganization: gridsuite
19-
sonarProjectKey: org.gridsuite:dynamic-mapping-server
2018
dockerImage: docker.io/gridsuite/dynamic-mapping-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
@@ -35,6 +35,8 @@
3535
<gridsuite-dependencies.version>38.0.0</gridsuite-dependencies.version>
3636
<string-template.version>4.3.1</string-template.version>
3737
<liquibase-hibernate-package>org.gridsuite.mapping.server</liquibase-hibernate-package>
38+
<sonar.organization>gridsuite</sonar.organization>
39+
<sonar.projectKey>org.gridsuite:dynamic-mapping-server</sonar.projectKey>
3840
</properties>
3941

4042
<build>

0 commit comments

Comments
 (0)