Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SNOW-1012891 Remove Sonarqube #81

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading