Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2e0fcfb3 authored by Achraf Achkari's avatar Achraf Achkari
Browse files

update gitlab-ci

parent 634d0481
No related branches found
No related tags found
2 merge requests!14Develop,!13Feature/cdaepsos4 update
# Define templates
include:
- project: 'gazelle/private/gitlab-ci-templates'
file: 'extends.yaml'
ref: 'master'
file: 'extends-v2.yaml'
ref: '1.0.0'
# Define stages
stages:
- build
- postbuild
- predeploy
- deploy
- tests
- test
- publish
- release
- upgrade
- cleanup
# Define global variables
variables:
P_NAME: "uml-models"
P_APP_TYPE: "java"
P_CODE_SRC_PATH: "."
P_MAVEN_IMAGE_TAG: "3.6.3-jdk-11-slim"
# Define jobs
code:
compile/unit-test:
stage: build
extends:
- .buildCodeForJavaWithPostgresql
- .buildJavaMavenTest
variables:
P_MAVEN_EXTRA_ARGS: "-DskipIT=true"
P_MAVEN_EXTRA_ARGS: "-DskipITs"
quality:
stage: tests
package:
stage: build
extends:
- .testQualityForJavaWithSonarqube
- .buildJavaMavenPackage
variables:
P_MAVEN_IMAGE_TAG: "3.6.3-jdk-11"
P_MAVEN_EXTRA_ARGS: "-DskipTests"
needs:
- job: compile/unit-test
artifacts: true
install-cache-repo:
stage: publish
extends:
- .publishJavaMavenInstall
variables:
P_MAVEN_EXTRA_ARGS: "-DskipTests "
needs:
- job: package
artifacts: true
publish-code:
stage: publish
extends:
- .publishJavaMavenDeploy
needs:
- job: package
artifacts: true
release/code:
stage: release
extends:
- .releaseCodeForJava
when: manual
variables:
P_MAVEN_EXTRA_ARGS: "-DskipIT=true"
P_MAVEN_JAVADOC_SKIP: "true"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment