Skip to content

Commit 2bfa195

Browse files
committed
fix sonar
1 parent 9bc3a4a commit 2bfa195

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ pytest-main:
6767
- if: $CI_PIPELINE_SOURCE == "schedule"
6868

6969
sonar:
70+
image: sonarsource/sonar-scanner-cli
7071
stage: sonar
72+
before_script: []
7173
variables:
7274
SONAR_HOST_URL: $INS_SONAR_URL
7375
SONAR_LOGIN: $INS_SONAR_LOGIN
74-
image:
75-
name: sonarsource/sonar-scanner-cli
7676
script:
7777
- sonar-scanner -Dsonar.projectKey=$CI_PROJECT_NAME -Dsonar.branch.name=$CI_BUILD_REF_NAME -Dsonar.python.coverage.reportPaths=test-reports/coverage.xml
7878
allow_failure: true

0 commit comments

Comments
 (0)