File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 5
5
ARTIFACTORY_DEPLOY_ACCESS_TOKEN : VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-qa-deployer access_token]
6
6
ARTIFACTORY_DEPLOY_REPO : sonarsource-pypi-public-qa
7
7
GITHUB_TOKEN : VAULT[development/github/token/licenses-ro token]
8
- SONAR_TOKEN : VAULT[development/kv/data/sonarcloud data.token]
9
- SONAR_HOST_URL : https://sonarcloud.io
8
+ SONAR_TOKEN : VAULT[development/kv/data/next data.token]
9
+ SONAR_HOST_URL : https://next.sonarqube.com/sonarqube
10
10
DEPLOY_PULL_REQUEST : ' true'
11
11
POETRY_VIRTUALENVS_PATH : " ~/.cache/poetry/venvs"
12
12
POETRY_CACHE_DIR : " ~/.cache/poetry/pypoetry"
@@ -80,13 +80,13 @@ formatting_task:
80
80
analysis_task :
81
81
<< : *POETRY_TEMPLATE
82
82
alias : analysis
83
- name : " SC Analysis"
83
+ name : " NEXT Analysis"
84
84
analysis_script :
85
85
- poetry run pytest --cov-report=xml:coverage.xml --cov-config=pyproject.toml --cov=src --cov-branch tests
86
86
- uv venv
87
87
- source .venv/bin/activate
88
- - uv pip install .
89
- - pysonar-scanner -Dsonar.organization=sonarsource -DbuildNumber=${CI_BUILD_NUMBER}
88
+ - uv pip install .
89
+ - pysonar-scanner -Dsonar.projectKey=SonarSource_sonar-scanner-python -Dsonar.projectName="Python Scanner" -DbuildNumber=${CI_BUILD_NUMBER}
90
90
always :
91
91
pytest_artifacts :
92
92
path : " coverage.xml"
@@ -139,7 +139,6 @@ its_task:
139
139
- jfrog poetry-config --server-id-resolve repox --repo-resolve sonarsource-pypi
140
140
- jfrog poetry install
141
141
- unset SONAR_TOKEN
142
- - unset SONARCLOUD_ANALYSIS
143
142
- unset SONAR_HOST_URL
144
143
- poetry run pytest
145
144
You can’t perform that action at this time.
0 commit comments