Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
d-wsmap
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
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
services web
d-wsmap
Commits
86b97843
Commit
86b97843
authored
2 years ago
by
Gaelle.Barris
Browse files
Options
Downloads
Patches
Plain Diff
maj gitlab ci
parent
d95383e1
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-6
6 additions, 6 deletions
.gitlab-ci.yml
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
6
−
6
View file @
86b97843
...
...
@@ -26,7 +26,7 @@ compile:
script
:
-
mvn $MAVEN_CLI_OPTS -Dmaven.test.skip=true compile
artifacts
:
expire_in
:
1
0 min
expire_in
:
2
0 min
paths
:
-
target/
only
:
...
...
@@ -39,7 +39,7 @@ test:
script
:
-
mvn $MAVEN_CLI_OPTS test
artifacts
:
expire_in
:
1
0 min
expire_in
:
2
0 min
paths
:
-
target/
only
:
...
...
@@ -52,7 +52,7 @@ build:
script
:
-
mvn $MAVEN_CLI_OPTS -DskipTests=true package
artifacts
:
expire_in
:
1
0 min
expire_in
:
2
0 min
paths
:
-
target/*.war
only
:
...
...
@@ -67,7 +67,7 @@ publish-maven-package-private:
-
IMAGE_TAG=$(mvn --non-recursive help:evaluate -Dexpression=project.version -q -DforceStdout)
-
echo "export IMAGE_TAG=$IMAGE_TAG" > $IMAGE_TAG_FILE
artifacts
:
expire_in
:
1
0 min
expire_in
:
2
0 min
paths
:
-
target/*.war
-
$IMAGE_TAG_FILE
...
...
@@ -95,7 +95,7 @@ publish-docker-image-private:
-
podman logout ${CI_REGISTRY}
-
rm -r ~/.docker
artifacts
:
expire_in
:
1
0 min
expire_in
:
2
0 min
paths
:
-
target/*.war
only
:
...
...
@@ -108,7 +108,7 @@ publish-maven-package-public:
-
IMAGE_TAG=$(mvn --non-recursive help:evaluate -Dexpression=project.version -q -DforceStdout)
-
echo "export IMAGE_TAG=$IMAGE_TAG" > $IMAGE_TAG_FILE
artifacts
:
expire_in
:
1
0 min
expire_in
:
2
0 min
paths
:
-
target/*.war
-
$IMAGE_TAG_FILE
...
...
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