Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
d-demomap
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Géomatique
Descartes
demo
d-demomap
Commits
f5c5ffcc
Commit
f5c5ffcc
authored
1 year ago
by
Gaelle.Barris
Browse files
Options
Downloads
Patches
Plain Diff
add sonarqube-check
parent
6d3ace57
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+21
-0
21 additions, 0 deletions
.gitlab-ci.yml
sonar-project.properties
+2
-0
2 additions, 0 deletions
sonar-project.properties
with
23 additions
and
0 deletions
.gitlab-ci.yml
+
21
−
0
View file @
f5c5ffcc
...
...
@@ -2,6 +2,7 @@ image: node:16.14.0
stages
:
-
build
-
check
-
publish-package
-
publish-docker-image
...
...
@@ -37,6 +38,26 @@ build:
-
main
-
tags
sonarqube-check
:
stage
:
check
image
:
name
:
sonarsource/sonar-scanner-cli:latest
entrypoint
:
[
"
"
]
variables
:
SONAR_USER_HOME
:
"
${CI_PROJECT_DIR}/.sonar"
GIT_DEPTH
:
"
0"
cache
:
key
:
"
${CI_JOB_NAME}"
paths
:
-
.sonar/cache
script
:
-
sonar-scanner
allow_failure
:
true
only
:
-
merge_requests
-
main
-
tags
publish-package
:
stage
:
publish-package
needs
:
[
"
build"
]
...
...
This diff is collapsed.
Click to expand it.
sonar-project.properties
0 → 100644
+
2
−
0
View file @
f5c5ffcc
sonar.projectKey
=
d-demomap
sonar.qualitygate.wait
=
true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment