File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -41,19 +41,18 @@ jobs:
4141 repository : ' 1c-syntax/ssl_3_1'
4242 path : ' target-project'
4343
44+ - name : Install Sonar scanner
45+ run : npm install -g sonar-scanner
46+
4447 - name : SonarQube Scan
4548 run : |
46- docker run --rm --network="host" \
47- -v "$(pwd)/target-project:/usr/src" \
48- --entrypoint /bin/bash \
49- sonarsource/sonar-scanner-cli:12 \
50- -c "rm -rf /opt/sonar-scanner/jre && sonar-scanner \
49+ sonar-scanner \
5150 -Dsonar.projectKey=test-project \
5251 -Dsonar.sources=. \
5352 -Dsonar.host.url=http://localhost:9000 \
5453 -Dsonar.token=${{ env.SONAR_TOKEN }} \
5554 -Dsonar.lang.patterns.bsl=**/*.bsl,**/*.os \
56- -Dsonar.scm.disabled=true"
55+ -Dsonar.scm.disabled=true
5756
5857 - name : Server Logs on Failure
5958 if : failure()
You can’t perform that action at this time.
0 commit comments