Skip to content

Commit

Permalink
remove sonarqube
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Jan 19, 2024
1 parent 4f6c9fa commit 56a8c10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
40 changes: 0 additions & 40 deletions scripts/jenkins_regress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions sonar-project.properties

This file was deleted.

0 comments on commit 56a8c10

Please sign in to comment.