Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
breakout
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cyril.rouiller
breakout
Commits
34285ba5
Commit
34285ba5
authored
1 month ago
by
TheSkeletonGentleman
Browse files
Options
Downloads
Patches
Plain Diff
.yml
parent
95ea3c06
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+26
-20
26 additions, 20 deletions
.gitlab-ci.yml
sonar-project.properties
+2
-0
2 additions, 0 deletions
sonar-project.properties
with
28 additions
and
20 deletions
.gitlab-ci.yml
+
26
−
20
View file @
34285ba5
...
...
@@ -2,33 +2,39 @@ stages:
-
build
-
test
-
package
variables
:
MAVEN_OPTS
:
"
-Dmaven.repo.local=$CI_PROJECT_DIR/.m2/repository"
-
quality
cache
:
key
:
maven
paths
:
-
.m2/repository/
key
:
npm
image
:
node:lts-slim
construire
:
build
:
stage
:
build
script
:
-
mvn clean package
-
npm ci
-
npm run build
artifacts
:
paths
:
-
target/
-
dist
expire_in
:
1 hour
tester
:
stage
:
test
script
:
-
mvn test
empaqueter
:
stage
:
package
script
:
-
mvn package
artifacts
:
build-sonar
:
stage
:
quality
image
:
leadrien/isc-sonar-scanner-cli:latest
cache
:
policy
:
pull-push
key
:
"
sonar-cache-$CI_COMMIT_REF_SLUG"
paths
:
-
target/*.jar
\ No newline at end of file
-
"
${SONAR_USER_HOME}/cache"
-
sonar-scanner/
script
:
-
sonar-scanner -Dsonar.host.url="${SONAR_HOST_URL}"
allow_failure
:
true
rules
:
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
-
if
:
$CI_COMMIT_BRANCH == 'master'
-
if
:
$CI_COMMIT_BRANCH == 'main'
-
if
:
$CI_COMMIT_BRANCH == 'develop'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
sonar-project.properties
0 → 100644
+
2
−
0
View file @
34285ba5
sonar.projectKey
=
cyril.rouiller_breakout_d929c1ae-3f65-4e95-9e4f-527e30e697e9
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