|
|
@ -16,7 +16,7 @@ steps:
|
|
|
|
- name: code-analysis
|
|
|
|
- name: code-analysis
|
|
|
|
#image: aosapps/drone-sonar-plugin:latest
|
|
|
|
#image: aosapps/drone-sonar-plugin:latest
|
|
|
|
#image: python:3.7
|
|
|
|
#image: python:3.7
|
|
|
|
image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dronesonarplugin-python37
|
|
|
|
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dronesonarplugin-python37
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- pip install numpy
|
|
|
|
- pip install numpy
|
|
|
|
#- pip install nose
|
|
|
|
#- pip install nose
|
|
|
@ -30,13 +30,13 @@ steps:
|
|
|
|
#- echo $PLUGIN_SONAR_TOKEN
|
|
|
|
#- echo $PLUGIN_SONAR_TOKEN
|
|
|
|
#- sed -i 's/filename="/filename=".\//g' coverage-reports/coverage-test.xml
|
|
|
|
#- sed -i 's/filename="/filename=".\//g' coverage-reports/coverage-test.xml
|
|
|
|
#- sonar-runner
|
|
|
|
#- sonar-runner
|
|
|
|
- /opt/sonar-scanner/bin/sonar-scanner -Dsonar.login=$PLUGIN_SONAR_TOKEN
|
|
|
|
- /opt/sonar-scanner/bin/sonar-scanner -Dsonar.login=$${PLUGIN_SONAR_TOKEN}
|
|
|
|
settings:
|
|
|
|
settings:
|
|
|
|
# accessible en ligne de commande par $${PLUGIN_SONAR_HOST}
|
|
|
|
# accessible en ligne de commande par $${PLUGIN_SONAR_HOST}
|
|
|
|
sonar_host: https://codefirst.iut.uca.fr/sonar/
|
|
|
|
sonar_host: https://codefirst.iut.uca.fr/sonar/
|
|
|
|
# accessible en ligne de commande par $${PLUGIN_SONAR_TOKEN}
|
|
|
|
# accessible en ligne de commande par $${PLUGIN_SONAR_TOKEN}
|
|
|
|
sonar_token:
|
|
|
|
sonar_token:
|
|
|
|
from_secret: ${SECRET_SONAR_LOGIN}
|
|
|
|
from_secret: SECRET_SONAR_LOGIN
|
|
|
|
sonar.python.version: 3
|
|
|
|
sonar.python.version: 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|