From 567cee86075142ff1c5a45c040233472389b3d13 Mon Sep 17 00:00:00 2001 From: tpariney Date: Thu, 25 Sep 2025 10:43:24 +0200 Subject: [PATCH 1/2] Fix CI jobs running once before and after merge --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d68ae1..49f04e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,4 +24,3 @@ build-job: rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_COMMIT_TAG - - if: $CI_COMMIT_BRANCH == 'dev' -- GitLab From ceb4cb41632303851f6f0f3a39e64b7d8c781f2e Mon Sep 17 00:00:00 2001 From: tpariney Date: Thu, 25 Sep 2025 10:44:19 +0200 Subject: [PATCH 2/2] Configure Nexus deployment --- .gitlab-ci.yml | 2 +- pom.xml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 49f04e6..d6dc72e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ build-job: script: - chmod +x ./settings.sh - ./settings.sh - - mvn clean package + - mvn clean deploy tags: - avm_groupe1 rules: diff --git a/pom.xml b/pom.xml index 9936f82..a4afb83 100644 --- a/pom.xml +++ b/pom.xml @@ -14,6 +14,16 @@ test + + + nexus-deptinfo + https://disc.univ-fcomte.fr/cr700-nexus/repository/maven-releases/ + + + nexus-deptinfo-snapshots + https://disc.univ-fcomte.fr/cr700-nexus/repository/maven-snapshots/ + + robot battery -- GitLab