Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test_CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolo Parmiggiani
test_CI
Commits
14f6ea79
Commit
14f6ea79
authored
3 years ago
by
Nicolo Parmiggiani
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
cc891084
No related branches found
No related tags found
No related merge requests found
Pipeline
#2422
passed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+16
-11
16 additions, 11 deletions
.gitlab-ci.yml
with
16 additions
and
11 deletions
.gitlab-ci.yml
+
16
−
11
View file @
14f6ea79
...
...
@@ -4,17 +4,22 @@ image:
include
:
-
template
:
Code-Quality.gitlab-ci.yml
code_quality
:
stage
:
test
services
:
tags
:
-
cq-astri
# Set this job to only run on our new specialized runner
artifacts
:
expose_as
:
'
Code
Quality
Report'
paths
:
[
gl-code-quality-report.json
]
sonarqube-check
:
image
:
name
:
sonarsource/sonar-scanner-cli:latest
entrypoint
:
[
"
"
]
variables
:
SONAR_USER_HOME
:
"
${CI_PROJECT_DIR}/.sonar"
# Defines the location of the analysis task cache
GIT_DEPTH
:
"
0"
# Tells git to fetch all the branches of the project, required by the analysis task
cache
:
key
:
"
${CI_JOB_NAME}"
paths
:
-
.sonar/cache
script
:
-
sonar-scanner
allow_failure
:
true
only
:
-
master
# or the name of your main branch
...
...
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