[Chore](checks) set sonar-project.properties (#24473)
set sonar-project.properties
This commit is contained in:
22
sonar-project.properties
Normal file
22
sonar-project.properties
Normal file
@ -0,0 +1,22 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
sonar.host.url=https://sonarcloud.io
|
||||
sonar.projectKey=apache_incubator-doris
|
||||
sonar.organization=apache
|
||||
sonar.sources=be
|
||||
8
.github/workflows/sonarcloud.yml
vendored
8
.github/workflows/sonarcloud.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
MAVEN_OPTS: -Xmx4g
|
||||
run: |
|
||||
cd fe
|
||||
mvn --batch-mode verify sonar:sonar -DskipTests -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-doris -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
|
||||
mvn --batch-mode verify sonar:sonar -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
|
||||
sonar-cloud-cpp:
|
||||
name: "SonarCloud on cpp"
|
||||
runs-on: ubuntu-22.04
|
||||
@ -154,9 +154,5 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
run: sonar-scanner \
|
||||
-Dsonar.cfamily.compile-commands=be/build_Release/compile_commands.json \
|
||||
-Dsonar.organization=apache \
|
||||
-Dsonar.projectKey=apache_incubator-doris \
|
||||
-Dsonar.sources=be
|
||||
run: sonar-scanner -Dsonar.cfamily.compile-commands=be/build_Release/compile_commands.json -Dsonar.sources=be
|
||||
|
||||
|
||||
Reference in New Issue
Block a user