This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
41
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
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
development
sharing
codeAbility Sharing Platform
Commits
e4ed8c67
Commit
e4ed8c67
authored
3 years ago
by
Daniel Rainer
Browse files
Options
Downloads
Patches
Plain Diff
Specify maven cache per job
parent
dc540863
Branches
Branches containing commit
2 merge requests
!105
Preparing März Release
,
!95
Improve pipeline
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-5
20 additions, 5 deletions
.gitlab-ci.yml
with
20 additions
and
5 deletions
.gitlab-ci.yml
+
20
−
5
View file @
e4ed8c67
image
:
jhipster/jhipster:v7.6.0
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
stages
:
-
setup
-
lint
...
...
@@ -36,6 +31,10 @@ checkstyle:
script
:
-
./mvnw -ntp checkstyle:check -Dmaven.repo.local=$MAVEN_USER_HOME
needs
:
[]
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
prettier
:
stage
:
lint
...
...
@@ -77,6 +76,10 @@ maven-compile:
-
target/generated-sources/
expire_in
:
1 day
needs
:
[]
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
maven-test
:
# DinD service is required for Testcontainers
...
...
@@ -103,6 +106,10 @@ maven-test:
expire_in
:
30 day
allow_failure
:
true
needs
:
[]
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
frontend-test
:
stage
:
test
...
...
@@ -136,6 +143,10 @@ sonar-analyze:
-
./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://qe-sonarqube.uibk.ac.at/ -Dsonar.login=${SONAR_TOKEN_QE} -Dmaven.repo.local=$MAVEN_USER_HOME
-
./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=codeAbility -Dsonar.host.url=https://server.arctis.at/sonar/ -Dsonar.login=${SONAR_TOKEN} -Dmaven.repo.local=$MAVEN_USER_HOME
allow_failure
:
true
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
maven-package
:
stage
:
package
...
...
@@ -157,3 +168,7 @@ maven-package:
# script:
# - ./mvnw -ntp jib:build -Pprod -Djib.to.image=$IMAGE_TAG -Djib.to.auth.username=gitlab-ci-token -Djib.to.auth.password=$CI_BUILD_TOKEN -Dmaven.repo.local=$MAVEN_USER_HOME
when
:
manual
cache
:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
This diff is collapsed.
Click to expand it.
Preview
0%
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