This commit is contained in:
@@ -14,23 +14,23 @@ steps:
|
||||
- pip install pytest
|
||||
- pytest
|
||||
|
||||
- name: sonar-scan
|
||||
image: sonarsource/sonar-scanner-cli
|
||||
environment:
|
||||
SONAR_TOKEN:
|
||||
from_secret: SONAR_TOKEN
|
||||
SONAR_URL:
|
||||
from_secret: SONAR_URL
|
||||
SONAR_ORGANIZATION:
|
||||
from_secret: SONAR_ORGANIZATION
|
||||
commands:
|
||||
- >
|
||||
sonar-scanner
|
||||
-Dsonar.login=$SONAR_TOKEN
|
||||
-Dsonar.host.url=$SONAR_URL
|
||||
-Dsonar.projectKey=Magiciian_dummy-app
|
||||
-Dsonar.organization=$SONAR_ORGANIZATION
|
||||
-Dsonar.sources=.
|
||||
# - name: sonar-scan
|
||||
# image: sonarsource/sonar-scanner-cli
|
||||
# environment:
|
||||
# SONAR_TOKEN:
|
||||
# from_secret: SONAR_TOKEN
|
||||
# SONAR_URL:
|
||||
# from_secret: SONAR_URL
|
||||
# SONAR_ORGANIZATION:
|
||||
# from_secret: SONAR_ORGANIZATION
|
||||
# commands:
|
||||
# - >
|
||||
# sonar-scanner
|
||||
# -Dsonar.login=$SONAR_TOKEN
|
||||
# -Dsonar.host.url=$SONAR_URL
|
||||
# -Dsonar.projectKey=Magiciian_dummy-app
|
||||
# -Dsonar.organization=$SONAR_ORGANIZATION
|
||||
# -Dsonar.sources=.
|
||||
|
||||
- name: notify
|
||||
image: curlimages/curl
|
||||
|
||||
Reference in New Issue
Block a user