Skip to content

Commit eb516b3

Browse files
committed
sonar action, moved projectKey property from pom to Action
1 parent 75b102a commit eb516b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/sonar-branch.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
- name: Sonar Scan
2828
run: |
2929
mvn -B sonar:sonar \
30-
-Dsonar.branch.name=main
30+
-Dsonar.branch.name=main \
31+
-Dsonar.projectKey=oracle_weblogic-image-tool
3132
env:
3233
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3334
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
<properties>
3434
<sonar.organization>oracle</sonar.organization>
3535
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
36-
<sonar.projectKey>oracle_weblogic-image-tool</sonar.projectKey>
3736

3837
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3938
<maven.compiler.source>1.8</maven.compiler.source>

0 commit comments

Comments
 (0)