From 56a8c10e4cec32da3dac98c229c8dde8e2f12172 Mon Sep 17 00:00:00 2001 From: Bing Li Date: Fri, 19 Jan 2024 13:11:48 -0800 Subject: [PATCH] remove sonarqube --- scripts/jenkins_regress.sh | 40 -------------------------------------- sonar-project.properties | 4 ---- 2 files changed, 44 deletions(-) delete mode 100644 sonar-project.properties diff --git a/scripts/jenkins_regress.sh b/scripts/jenkins_regress.sh index bf0895f3..53aa2a5b 100755 --- a/scripts/jenkins_regress.sh +++ b/scripts/jenkins_regress.sh @@ -19,43 +19,3 @@ gpg --quiet --batch --yes --decrypt --passphrase="$GPG_KEY" --output profile.pro exit_code_decorator "mvn clean compile" exit_code_decorator "mvn -Dgpg.skip -DtagsToExclude=com.snowflake.snowpark.PerfTest -e scoverage:report -P test-coverage" - -version=`git rev-parse HEAD` - -if [ -z $pr_code_coverage ]; - then - echo "For main" - /usr/local/sonar-scanner-cli/bin/sonar-scanner \ - -Dsonar.host.url=https://sonarqube-eng.int.snowflakecomputing.com \ - -Dsonar.projectBaseDir=/mnt/jenkins/home/jenkins/workspace/SnowparkClientRegressRunner/thundersnow \ - -Dsonar.projectVersion=1.11.0 \ - -Dsonar.scala.coverage.reportPaths=target/scoverage.xml \ - -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml \ - -Dsonar.sources=src/main \ - -Dsonar.binaries=target/scoverage-classes \ - -Dsonar.java.binaries=target/scoverage-classes \ - -Dsonar.tests=src/test \ - -Dsonar.scala.version=2.12 \ - -Dsonar.projectKey=snowpark \ - -Dsonar.scm.revision=${version} \ - -Dsonar.scm.provider=git -else - echo "For Pull Request" - /usr/local/sonar-scanner-cli/bin/sonar-scanner \ - -Dsonar.host.url=https://sonarqube-eng.int.snowflakecomputing.com \ - -Dsonar.projectBaseDir=/mnt/jenkins/home/jenkins/workspace/SnowparkClientRegressRunner/thundersnow \ - -Dsonar.projectVersion=1.11.0 \ - -Dsonar.scala.coverage.reportPaths=target/scoverage.xml \ - -Dsonar.coverage.jacoco.xmlReportPaths=target/site/jacoco/jacoco.xml \ - -Dsonar.sources=src/main \ - -Dsonar.binaries=target/scoverage-classes \ - -Dsonar.java.binaries=target/scoverage-classes \ - -Dsonar.tests=src/test \ - -Dsonar.scala.version=2.12 \ - -Dsonar.projectKey=snowpark \ - -Dsonar.scm.revision=${version} \ - -Dsonar.scm.provider=git \ - -Dsonar.pullrequest.key=${PR_KEY} \ - -Dsonar.pullrequest.branch=${PR_ID} \ - -Dsonar.pullrequest.base=main -fi diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 79dc09ef..00000000 --- a/sonar-project.properties +++ /dev/null @@ -1,4 +0,0 @@ -sonar.projectKey=snowpark -sonar.projectName=Snowpark -sonar.projectVersion=1.11.0 -sonar.sourceEncoding=UTF-8