Skip to content

Commit 51aadc9

Browse files
Remove SonarQube step. Use Harness CI eventually
1 parent a27eaee commit 51aadc9

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -37,44 +37,3 @@ jobs:
3737

3838
- name: npm Build
3939
run: npm run build
40-
41-
- name: SonarQube Scan (Push)
42-
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/main') }}
43-
uses: SonarSource/sonarcloud-github-action@v1.8
44-
env:
45-
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
46-
with:
47-
projectBaseDir: .
48-
args: >
49-
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
50-
-Dsonar.projectName=${{ github.event.repository.name }}
51-
-Dsonar.projectKey=${{ github.event.repository.name }}
52-
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
53-
-Dsonar.exclusions=**/*.java
54-
-Dsonar.c.file.suffixes=-
55-
-Dsonar.cpp.file.suffixes=-
56-
-Dsonar.objc.file.suffixes=-
57-
-Dsonar.links.ci="https://github.com/splitio/${{ github.event.repository.name }}/actions"
58-
-Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}"
59-
60-
- name: SonarQube Scan (Pull Request)
61-
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
62-
uses: SonarSource/sonarcloud-github-action@v1.8
63-
env:
64-
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
65-
with:
66-
projectBaseDir: .
67-
args: >
68-
-Dsonar.host.url=${{ secrets.SONARQUBE_HOST }}
69-
-Dsonar.projectName=${{ github.event.repository.name }}
70-
-Dsonar.projectKey=${{ github.event.repository.name }}
71-
-Dsonar.links.ci="https://github.com/splitio/${{ github.event.repository.name }}/actions"
72-
-Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}"
73-
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
74-
-Dsonar.exclusions=**/*.java
75-
-Dsonar.c.file.suffixes=-
76-
-Dsonar.cpp.file.suffixes=-
77-
-Dsonar.objc.file.suffixes=-
78-
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
79-
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
80-
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}

0 commit comments

Comments
 (0)