[Chore](checks) move sonar config file to be(#24712)
move sonar config file to be
This commit is contained in:
4
.github/workflows/sonarcloud.yml
vendored
4
.github/workflows/sonarcloud.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
MAVEN_OPTS: -Xmx4g
|
||||
run: |
|
||||
cd fe
|
||||
mvn --batch-mode verify sonar:sonar -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
|
||||
mvn --batch-mode verify sonar:sonar -DskipTests -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-doris -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,5 +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
|
||||
run: sonar-scanner -Dsonar.cfamily.compile-commands=be/build_Release/compile_commands.json -Dsonar.sources=be
|
||||
|
||||
|
||||
@ -63,7 +63,7 @@ class CreateMVAction implements SuiteAction {
|
||||
def tmp = doRun("SHOW ALTER TABLE MATERIALIZED VIEW ORDER BY CreateTime DESC LIMIT 1;")
|
||||
sqlResult = tmp.result[0]
|
||||
log.info("result: ${sqlResult}".toString())
|
||||
if (tryTimes == 60 || sqlResult.contains("CANCELLED")) {
|
||||
if (tryTimes == 120 || sqlResult.contains("CANCELLED")) {
|
||||
throw new IllegalStateException("MV create check times over limit, result='${sqlResult}'");
|
||||
}
|
||||
Thread.sleep(1200)
|
||||
|
||||
Reference in New Issue
Block a user