Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
anis
anis-server
Commits
091b4a86
Commit
091b4a86
authored
Sep 23, 2019
by
François Agneray
Browse files
add version for sonarqube report
parent
6627c23e
Pipeline
#1551
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
091b4a86
...
...
@@ -9,6 +9,8 @@ stages:
-
deploy
variables
:
VERSION
:
3.0
SONARQUBE_URL
:
https://sonarqube.lam.fr
METRICS_IMAGE
:
portus.lam.fr/anis/anis-server-metrics
CONTAINER_IMAGE
:
portus.lam.fr/anis/anis-server
...
...
@@ -86,7 +88,7 @@ sonar_scanner:
image
:
portus.lam.fr/ci-tools/sonar-scanner:latest
stage
:
sonar
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
:
paths
:
-
coverage
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment