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
Jorgen.Lohne
inf226-2021-inchat
Commits
6f9f6f58
Commit
6f9f6f58
authored
Oct 14, 2021
by
Jorgen.Lohne
Browse files
Add .gitlab-ci.yml
parent
b4038162
Pipeline
#97002
passed with stage
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
6f9f6f58
sonarqube-check
:
image
:
maven:3.6.3-jdk-11
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
:
-
mvn verify sonar:sonar
allow_failure
:
true
only
:
-
master
# or the name of your main branch
Write
Preview
Markdown
is supported
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