mirror of
https://github.com/BlizD/Tasks.git
synced 2025-03-29 21:46:54 +02:00
Вернул настройки сонар-сканера к изначальным
This commit is contained in:
parent
174001afba
commit
dcde645817
7
.github/workflows/sonar-scanner.yml
vendored
7
.github/workflows/sonar-scanner.yml
vendored
@ -26,14 +26,9 @@ jobs:
|
|||||||
java-version: 11
|
java-version: 11
|
||||||
- name: Setup SonarQube scanner
|
- name: Setup SonarQube scanner
|
||||||
uses: warchant/setup-sonar-scanner@v1
|
uses: warchant/setup-sonar-scanner@v1
|
||||||
with:
|
|
||||||
version: 4.4.0.2170
|
|
||||||
- name: Run SonarQube on push
|
- name: Run SonarQube on push
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
run: sonar-scanner
|
run: sonar-scanner
|
||||||
-X
|
|
||||||
-Dsonar.bsl.languageserver.overrideConfiguration=true
|
|
||||||
-Dsonar.bsl.languageserver.configurationPath=.bsl-language-server.json
|
|
||||||
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
|
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
|
||||||
-Dsonar.host.url=https://sonar.openbsl.ru
|
-Dsonar.host.url=https://sonar.openbsl.ru
|
||||||
-Dsonar.branch.name=${GITHUB_REF#refs/heads/}
|
-Dsonar.branch.name=${GITHUB_REF#refs/heads/}
|
||||||
@ -47,4 +42,4 @@ jobs:
|
|||||||
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
|
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
|
||||||
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
|
-Dsonar.pullrequest.branch=${{ github.event.pull_request.head.ref }}
|
||||||
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
|
-Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }}
|
||||||
-Dsonar.bsl.languageserver.enabled=true
|
-Dsonar.bsl.languageserver.enabled=true
|
Loading…
x
Reference in New Issue
Block a user