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 55 ARTIFACTORY_DEPLOY_ACCESS_TOKEN : VAULT[development/artifactory/token/${CIRRUS_REPO_OWNER}-${CIRRUS_REPO_NAME}-qa-deployer access_token]
66 ARTIFACTORY_DEPLOY_REPO : sonarsource-pypi-public-qa
77 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
1010 DEPLOY_PULL_REQUEST : ' true'
1111 POETRY_VIRTUALENVS_PATH : " ~/.cache/poetry/venvs"
1212 POETRY_CACHE_DIR : " ~/.cache/poetry/pypoetry"
@@ -80,13 +80,13 @@ formatting_task:
8080analysis_task :
8181 << : *POETRY_TEMPLATE
8282 alias : analysis
83- name : " SC Analysis"
83+ name : " NEXT Analysis"
8484 analysis_script :
8585 - poetry run pytest --cov-report=xml:coverage.xml --cov-config=pyproject.toml --cov=src --cov-branch tests
8686 - uv venv
8787 - 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}
9090 always :
9191 pytest_artifacts :
9292 path : " coverage.xml"
@@ -139,7 +139,6 @@ its_task:
139139 - jfrog poetry-config --server-id-resolve repox --repo-resolve sonarsource-pypi
140140 - jfrog poetry install
141141 - unset SONAR_TOKEN
142- - unset SONARCLOUD_ANALYSIS
143142 - unset SONAR_HOST_URL
144143 - poetry run pytest
145144
You can’t perform that action at this time.
0 commit comments