Skip to content
Snippets Groups Projects
Commit 86b97843 authored by Gaelle.Barris's avatar Gaelle.Barris
Browse files

maj gitlab ci

parent d95383e1
Branches
Tags
No related merge requests found
......@@ -26,7 +26,7 @@ compile:
script:
- mvn $MAVEN_CLI_OPTS -Dmaven.test.skip=true compile
artifacts:
expire_in: 10 min
expire_in: 20 min
paths:
- target/
only:
......@@ -39,7 +39,7 @@ test:
script:
- mvn $MAVEN_CLI_OPTS test
artifacts:
expire_in: 10 min
expire_in: 20 min
paths:
- target/
only:
......@@ -52,7 +52,7 @@ build:
script:
- mvn $MAVEN_CLI_OPTS -DskipTests=true package
artifacts:
expire_in: 10 min
expire_in: 20 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: 10 min
expire_in: 20 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: 10 min
expire_in: 20 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: 10 min
expire_in: 20 min
paths:
- target/*.war
- $IMAGE_TAG_FILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment