Update sonar PR config
@@ -40,8 +40,11 @@ jobs:
- run: |
if [ -n "${CIRCLE_PR_NUMBER}" ]; then
mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar \
- -Dsonar.github.pullRequest=${CIRCLE_PR_NUMBER} \
- -Dsonar.github.repository=fabric8io/docker-maven-plugin \
+ -Dsonar.pullrequest.base=master \
+ -Dsonar.pullrequest.branch=${CIRCLE_BRANCH} \
+ -Dsonar.pullrequest.key=${CIRCLE_PR_NUMBER} \
+ -Dsonar.pullrequest.provider=GitHub \
+ -Dsonar.pullrequest.github.repository=fabric8io/docker-maven-plugin \
-Dsonar.github.oauth=${GITHUB_COMMENT_TOKEN} \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=${SONARQUBE_TOKEN}
