Skip to content

Commit 9eea82b

Browse files
arjun-rajappapvital
authored andcommitted
ci: read sonar.sources from properties file
Signed-off-by: Arjun Rajappa <[email protected]>
1 parent 569cfc9 commit 9eea82b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.circleci/config.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ commands:
9393
- run:
9494
name: Run SonarQube to report the coverage
9595
command: |
96-
python -m venv venv
9796
. venv/bin/activate
98-
pip install --upgrade pip coverage
9997
coverage combine ./coverage_results
10098
coverage xml -i
10199
@@ -109,15 +107,13 @@ commands:
109107
pysonar-scanner \
110108
-Dsonar.organization=instana \
111109
-Dsonar.projectKey=instana_python-sensor \
112-
-Dsonar.sources=. \
113110
-Dsonar.host.url="${SONARQUBE_URL}" \
114111
-Dsonar.pullrequest.key="${PR_NUMBER}" \
115112
-Dsonar.pullrequest.branch="${CIRCLE_BRANCH}"
116113
else
117114
pysonar-scanner \
118115
-Dsonar.organization=instana \
119116
-Dsonar.projectKey=instana_python-sensor \
120-
-Dsonar.sources=. \
121117
-Dsonar.host.url="${SONARQUBE_URL}" \
122118
-Dsonar.branch.name="${CIRCLE_BRANCH}"
123119
fi

0 commit comments

Comments
 (0)