Commit 091b4a86 authored by François Agneray's avatar François Agneray
Browse files

add version for sonarqube report

parent 6627c23e
Pipeline #1551 failed
...@@ -9,6 +9,8 @@ stages: ...@@ -9,6 +9,8 @@ stages:
- deploy - deploy
variables: variables:
VERSION: 3.0
SONARQUBE_URL: https://sonarqube.lam.fr
METRICS_IMAGE: portus.lam.fr/anis/anis-server-metrics METRICS_IMAGE: portus.lam.fr/anis/anis-server-metrics
CONTAINER_IMAGE: portus.lam.fr/anis/anis-server CONTAINER_IMAGE: portus.lam.fr/anis/anis-server
...@@ -86,7 +88,7 @@ sonar_scanner: ...@@ -86,7 +88,7 @@ sonar_scanner:
image: portus.lam.fr/ci-tools/sonar-scanner:latest image: portus.lam.fr/ci-tools/sonar-scanner:latest
stage: sonar stage: sonar
script: script:
- sonar-scanner -Dsonar.projectKey=anis-server -Dsonar.sources=src -Dsonar.host.url=https://sonarqube.lam.fr -Dsonar.login=$SONAR_TOKEN -Dsonar.php.tests.reportPath=./coverage/junit-logfile.xml -Dsonar.php.coverage.reportPaths=./coverage/clover.xml - sonar-scanner -Dsonar.projectKey=anis-server -Dsonar.sources=src -Dsonar.projectVersion=$VERSION -Dsonar.host.url=$SONARQUBE_URL -Dsonar.login=$SONAR_TOKEN -Dsonar.php.tests.reportPath=./coverage/junit-logfile.xml -Dsonar.php.coverage.reportPaths=./coverage/clover.xml
cache: cache:
paths: paths:
- coverage - coverage
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment