Skip to content

Commit

Permalink
Merge pull request #848 from rsksmart/fix_sonarcloud
Browse files Browse the repository at this point in the history
Fix sonarcloud
  • Loading branch information
lsebrie authored May 15, 2019
2 parents 58a5aa1 + a2bffe2 commit 618802d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ jobs:
path: ~/junit
- store_artifacts:
path: ~/junit
- run: export PULL_REQUEST=$(echo $CI_PULL_REQUEST | awk '{print substr($1,39)}') && java -jar ./sonar-scanner-cli-$SONAR_VERSION.jar -Dsonar.pullrequest.provider=github -Dsonar.pullrequest.base=master -Dsonar.pullrequest.branch=$CIRCLE_BRANCH -Dsonar.pullrequest.key=$PULL_REQUEST -Dsonar.projectKey=rsksmart_rskj -Dsonar.organization=rsksmart -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_TOKEN -Dsonar.sources="rskj-core/src/main/java,rskj-core/src/main/resources" -Dsonar.java.binaries="rskj-core/build/classes/java/main" -Dsonar.java.libraries="/root/.gradle/caches/modules-2/files-2.1/*"
- run: if [ ! -z $CI_PULL_REQUEST ]; then export PULL_REQUEST=$(echo $CI_PULL_REQUEST | awk '{print substr($1,39)}') && java -jar ./sonar-scanner-cli-$SONAR_VERSION.jar -Dsonar.pullrequest.provider=github -Dsonar.pullrequest.base=master -Dsonar.pullrequest.branch=$CIRCLE_BRANCH -Dsonar.pullrequest.key=$PULL_REQUEST -Dsonar.projectKey=rsksmart_rskj -Dsonar.organization=rsksmart -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_TOKEN -Dsonar.sources="rskj-core/src/main/java,rskj-core/src/main/resources" -Dsonar.java.binaries="rskj-core/build/classes/java/main" -Dsonar.java.libraries="/root/.gradle/caches/modules-2/files-2.1/*"; else java -jar ./sonar-scanner-cli-$SONAR_VERSION.jar -Dsonar.branch.name=master -Dsonar.projectKey=rsksmart_rskj -Dsonar.organization=rsksmart -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_TOKEN -Dsonar.sources="rskj-core/src/main/java,rskj-core/src/main/resources" -Dsonar.java.binaries="rskj-core/build/classes/java/main" -Dsonar.java.libraries="/root/.gradle/caches/modules-2/files-2.1/*"; fi

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Welcome to RskJ
[![CircleCI](https://circleci.com/gh/rsksmart/rskj/tree/master.svg?style=svg)](https://circleci.com/gh/rsksmart/rskj/tree/master)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=rsksmart_rskj&metric=alert_status)](https://sonarcloud.io/dashboard?id=rsksmart_rskj)


# About
Expand Down

0 comments on commit 618802d

Please sign in to comment.